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;
}
Show answerHide answer
Correct answer: (D) 9 5
Correct answer: (D) 9 5
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.