#include<stdio.h>
int main()
{ int i=0,j=1,k=2,m,n=0;
m=i++&&j++&&k++||n++;
printf("%d,%d,%d,%d,%d",i,j,k,m,n);
}
Answer Posted / kishore krishnan.s.r
Its actually a doubt
Since ++ has high precidence than && will it not be evaluated first.
then ans will be 1,2,3,0,1
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What does return 1 means in c?
Explain high-order and low-order bytes.
what do you mean by inline function in C?
What are the general description for loop statement and available loop types in c?
What is the -> in c?
What is getche() function?
How can I find the modification date of a file?
Explain the process of converting a Tree into a Binary Tree.
What is operator promotion?
What are data structures in c and how to use them?
Does sprintf put null character?
What are the advantages of union?
What is wrong with this code?
What is use of null pointer in c?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none