what is the output of the following program?
main()
{
int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf("%d %d %d %d %d",i,j,k,l,m);
}
Answer Posted / nisha
-1 -1 0 2 1
| Is This Answer Correct ? | 3 Yes | 10 No |
Post New Answer View All Answers
What is the use of extern in c?
Can we change the value of constant variable in c?
What is the benefit of using const for declaring constants?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
How does struct work in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is a volatile keyword in c?
write a program in c language to print your bio-data on the screen by using functions.
Are there namespaces in c?
Who developed c language?
What is file in c preprocessor?
What is meant by 'bit masking'?
What is the difference between struct and union in C?
Why is c so powerful?
Describe the modifier in c?