Programming Languages
C
Objective
Jan 03, 2013
#include<stdio.h>
int main(){
int i=2,j=2;
while(i+1?--i:j++)
printf("%d",i);
return 0;
}
What is the output of the program
Detailed Explanation
The above code gives the 1 as output. so the answer is d.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts