Free Online Skill Test C Language Basics (Test 2)

Results

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

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

#3. Prototype of a function means ____?

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

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

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

#7. 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.

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

#9. Is 'const' better than #define?

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

#11. The format identifier '%c' is used for which data type?

#12. How many keyword's in C?

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

#14. Void occupy how many bytes in memory?

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

#16. Who is the father of C language?

#17. Can we assign null on void pointer?

#18. Which type of statement is 'break' in C language?

#19. 'Break' statement is used for ______?

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

#21. Which type of Language is C?

#22. How many types of loop in C?

Ans. Three

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

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

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

#25. sizeof() is a _____?

Finish