@vijaysy-L0Tg5s
•
Oct 26, 2024
Oct 26, 2024
1.7K
What's the output of this C program?
[HASHTAG]#include[/HASHTAG]<stdio.h>
int main(){
int i=2,j=2;
while(i+1?--i:j++)
printf("%d",i);
return 0;
}
The above question was asked for my seniors in Mu-Sigma written test..
The output for the above code is 1....