C Programming MCQ

  1. Can we declare function inside structure of c programming?
  2. Which of the following cannot be a structure member?
  3. ............. is the father of C language
  4. Which of the following is not a valid variable name in C Programming?
  5. Which of the following declaration is not supported by C language?
  6. ............... keyword is used to prevent any changes in the variable within a C program.
  7. What is the output of the following C code?
  8. What is the output of the following C function?
  9. scanf() is a predefined function in stdio. h header file.
  10. The C-preprocessors are specified with ...............
  11. What is the output of following C Code?
  12. Which of the following is an array initialized in C language?
  13. What is the return type of the fopen() function in C?
  14. How to find the length of an array in C?
C Programming MCQ

Practice Best C Programming MCQ Test & Online Quiz

We have listed below the best C Programming MCQ Questions, that check your basic knowledge of C Programming. This C Programming MCQ Test contains 20+ Multiple Choice Questions. You have to select the right answer to check your final preparation for the C Programming Exam/Interviews. apart from this, you can also download the C Programming MCQ PDF, completely free from the link given below.

  • Yes
  • No
View Answer
  • Array
  • Function
  • Another structure
  • None of the Above
View Answer
  • James Gosling
  • Dennis Ritchie
  • Rasmus Lerdorf
  • None of the Above
View Answer
  • float rate;
  • int $main;
  • int number;
  • None of the Above
View Answer
  • char *str;
  • float str = 3e2;
  • String str;
  • None of the Above
Download Free : C Programming MCQ PDF
View Answer
  • Conaxweb.com is printed infinite times
  • No Output
  • Conaxweb.com
  • Error because function name cannot be preceded by const
View Answer
  • int a = {1, 2, 3};
  • int a[3] = {1, 2, 3};
  • int a[ ] = new int [3]
  • None of the Above
View Answer
  • An integer
  • Pointer to an integer
  • Pointer to a FILE Object
  • None of the above
View Answer
  • sizeof(a)
  • sizeof(a[0])
  • sizeof(a) * sizeof(a[0])
  • sizeof(a) / sizeof(a[0])
View Answer
  • Linker
  • Editor
  • Compiler
  • Pre-processor
View Answer
  • Forward iterator
  • Random access iterator
  • Bi-directional iterator
  • All of the Above
View Answer
  • int my num = 1000;
  • int my num == 10000;
  • int my_num = 100,000;
  • int my_num = 100000;
View Answer