Basic C Programming MCQ Questions and Answers
Practice ModeShowing 10 of 198 questions
Q31
Pick the operators that associate from the right
Answer: Option
Q32
Pick the operators whole meaning is context dependent.
Answer: Option
Q33
Pick the operator that associate from the fleft
Answer: Option
Q34
The following code fragment
int x, y = 2 z, a;
x = (y * = 2) + (z = a = y);
Print ("%d", x);
Answer: Option C
Q35
If n has the value 3, then the output of the statement printf("%d %d", n++, ++n);
Answer: Option D
Q36
x -= y + 1; means
Answer: Option D
Q37
Which of the following comments about the ++ operator are correct ?
Answer: Option
Q38
In standard C, trigraphs in the source program are translated
Answer: Option
Q39
The expression 5 - 2 - 3 + 5 - 2 will evaluate to 18, if
Answer: Option C
Q40
Printf ("%c", 100) ;
Answer: Option C