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

Find the output of the following int main( )

Find the output of the following #include <stdio.h> int main( ) { int x=5, y=9; x=(x= x+y)-(y= x-y); printf("%d %d ", x, y); return 0; }
  1. A5 14
  2. B5 9
  3. C14 5
  4. D9 5
Show answerHide answer

Correct answer: (D) 9 5

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

This is question 145 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.