Free Online Skill Test C Language Basics (Test 2)

Results

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

#2. Void occupy how many bytes in memory?

#3. Can we assign null on void pointer?

#4. Which type of Language is C?

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

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

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

#8. sizeof() is a _____?

#9. Prototype of a function means ____?

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

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

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

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

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

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

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

#17. How many types of loop in C?

Ans. Three

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

#18. Who is the father of C language?

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

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

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

#22. How many keyword's in C?

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

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

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

Finish