#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 is console in c language?
Can we declare a function inside a function in c?
What's the difference between constant char *p and char * constant p?
What are the disadvantages of c language?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
How do I use void main?
What are pointers really good for, anyway?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What does c mean before a date?
what is recursion in C
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Is struct oop?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above