Free Online Skill Test C Language Basics (Test 2)

 

Results

#1. What is the default value of static variable?

#2. Which of the following will not return a value?

#3. In which year, C Language was Developed?

#4. Is ‘const’ better than #define?

#5. Is it possible to run program without main()?

#6. Void occupy how many bytes in memory?

#7. In C, we used for input / output?

#8. Which of the following function is user defined?

The main () function provides a platform for calling the first user-defined function in the program. It has got its own functionality and structural features with respect to the usage of syntaxes which cannot be changed by the end-user unless he writes his own compiler.

#9. sizeof() is a _____?

#10. What is the default value of local variable?

#11. Who is the father of C language?

#12. What is the range of char data type?

#13. Which type of Language is C?

#14. ‘Break’ statement is used for ______?

#15. Which of the following is not a valid storage class?

#16. Which of the following is a logical NOT operator?

#17. What is the range of int data type?

#18. Can we assign null on void pointer?

#19. How many types of loop in C?

Ans. Three

  1. While loop
  2. For loop
  3. Do While loop

#20. The format identifier ‘%c’ is used for which data type?

#21. How many keyword’s in C?

#22. float a[15], what is the size of array?

#23. Which type of statement is ‘break’ in C language?

#24. Prototype of a function means ____?

#25. Variable that are declared but not initialized contains _______?

Previous
Finish