Loading, please wait...

C Programming Multiple Choice Questions And Answers

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

36. Which of the following data type will throw an error on modulus operation(%)?

  • int
  • char
  • float
  • double

37. The statement below is declaration or definition

  • Definition
  • Declaration
  • Function
  • Error

38. getch() belongs to which header file

  • math.h
  • stdio.h
  • iostream.h
  • conio.h

39. Find out the Output

int main() { int B; B = 10; printf("%d", B); return 0; }
  • register
  • static
  • auto
  • const

40. Guess the output

#include int main() { int a = 10; double b = 5.6; int c; c = a + b; printf("%d", c); }
  • Output :15.5
  • Output : 15
  • Output :16
  • Error