#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 the purpose of scanf() and printf() functions?
What is data structure in c language?
Why should I prototype a function?
What are the different types of control structures in programming?
What is %g in c?
I have a varargs function which accepts a float parameter?
Why is c still so popular?
Explain the difference between getch() and getche() in c?
Is c call by value?
Simplify the program segment if X = B then C ← true else C ← false
How can you avoid including a header more than once?
Explain can you assign a different address to an array tag?
Linked lists -- can you tell me how to check whether a linked list is circular?
What are register variables in c?
What is the argument of a function in c?