C/C MCQ Quiz Hub

C MCQS Interview Questions

Choose a topic to test your knowledge and improve your C/C skills

1. What are different storage class specifiers in C?




2. What is scope of a variable?




3. How will you print “Hello World” without semicolon?




4. Swapping of two variable require minimum




5. When should we use pointers in a C program?




6. What is NULL pointer?




7. What is Dangling pointer ?




8. What is memory leak?




9. What are local static variables ?




10. What is difference between i++ and ++i?




11. What is difference between i++ and ++i?




12. Execution of every c program starts with-




13. smallest executable code in c is -




14. Types of loops in c -




15. Entry control loop are -




16. Exit control loops are those




17. Entry control loops are-




18. Exit control loop are -




19. what is HEAP area ?




20. What is stack area ?




21. If we allocate memory by malloc in c then it goes to




22. int a=1; memory allocation is a type of




23. How many keywords are there in c ?




24. Which are the basic data type in c ?




25. void in c language is -




26. fabs() in c programming are in-




27. what is the cyclic nature of data type in c ?




28. Is nested loop exist in c programming-




29. Nested loop is




30. What is the difference between declaration and definition of function in c ?




31. For recursion we require




32. we can create loop by




33. exit() function are used to-




34. exit() function were define in -




35. which of the following are the modifier in c ?




36. which of the following are modifier in c ?




37. for creating random number, we use




38. rand() function are used to generate random number during execution of program, In which header file it is define ?




39. Is that possible to store 32768 in an int data type variable ?




40. for storing number 32768 as a integer, which one is valid ?




41. Null pointers are possible to use in -




42. for any type of looping we require-




43. without the curly braces, the body of while loop is upto




44. int a this type of declaration is treated as:-




45. if the declaration of variable is outside the function then it is treated as




46. is it possible to create customized header file ?




47. is graphical programming possible by c language ?




48. Canvas programming in c are those which deal with the




49. c language is-




50. Ascii value of A is -