Predict the output of following code:
main()
{
int i=10,j=2,k=0,m;
m=++i&&++j&&++k; // m = 11 && 3 && 1 = 1
printf(“%d%d%d%d”,i,j,k,m);
}
1.11,3,1,1
2. 11,2,0,1
3. 11,3,1,0
4. 10,2,0,1; Predict the output of following code:; main(); {; int i=10,j=2,k=0,m;; m=++i&&++j&&++k; // m = 11 && 3 && 1 = 1; printf(“%d%d%d%d”,i,j,k,m);; }; 1.11,3,1,1; 2. 11,2,0,1; 3. 11,3,1,0; 4. 10,2,0,1
Answers
Answered by
0
here is the answer
11, 3, 3, 1
Answered by
0
u have 4 profiles right
Similar questions