Question 155Asked in CIL MT Systems, 27 Feb 2020 (8:00 AM)

What is the output of the following C program int main( )

What is the output of the following C program #include <stdio.h> int main( ) { int i=5; printf("%d %d %d", i++, i, ++i ); return 0; }
  1. A7 6 6
  2. B6 7 8
  3. C6 7 7
  4. D5 6 7
Show answerHide answer

Correct answer: (C) 6 7 7

From CIL MT Systems PYQ, 27 Feb 2020 (8:00 AM)

This is question 155 of CIL MT Systems PYQ, 27 Feb 2020 (8:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.