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 

41. The declaration "unsigned u" indicates u is a/an

  • unsigned interger
  • unsigned character
  • character
  • None of the above

42. Printing a character as an integer

  • results in the printing of a negative integer
  • Both A and C
  • always prints a positive integer
  • prints a value that is implementation dependent

43. Can we run program without a main() function

  • Yes
  • No

44. Assume the output

int main() { char *ptr1, *ptr2; printf("%d %d", sizeof(ptr1), sizeof(ptr2)); return 0; }
  • Output : 1 1
  • Output : 2 2
  • Output : 4 4
  • Output : 3 3

45. Mark the statement excuted by Preprocessor

  • $include<stdio.h>
  • &include
  • #include<stdio.h>
  • None of the above