Free Online Skill Test C Language Basics (Test 2)

 

Results

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

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

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

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

#5. How many keyword’s in C?

#6. Prototype of a function means ____?

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

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

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

#10. How many types of loop in C?

Ans. Three

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

#11. Void occupy how many bytes in memory?

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

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

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

#15. Which type of Language is C?

#16. Can we assign null on void pointer?

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

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

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

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

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

#22. sizeof() is a _____?

#23. Who is the father of C language?

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

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

Previous
Finish