What's the output of this C program?
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. I don't know how it is 1 , help me to
to understand.