#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 / g krishna rao
1,1,2,0,1
when it encounters zero it will not check remaining conditions
and go to or conditions and incriment n
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is indirection in c?
Why is #define used?
How many data structures are there in c?
Is c a great language, or what?
What does *p++ do? What does it point to?
What are the advantages and disadvantages of pointers?
What is meant by recursion?
What is the use of #define preprocessor in c?
What is pointer to pointer in c with example?
Can you assign a different address to an array tag?
Explain do array subscripts always start with zero?
How do you convert strings to numbers in C?
Why main is not a keyword in c?
Is a pointer a kind of array?
Can a variable be both constant and volatile?