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 / vignesh1988i
0 0 1 3 1
as for as i know this is the output........
thank u
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Why is c known as a mother language?
What is the difference between far and near in c?
What is the purpose of sprintf() function?
What is 1d array in c?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Can you please explain the difference between exit() and _exit() function?
What the advantages of using Unions?
Differentiate between Macro and ordinary definition.
Hai what is the different types of versions and their differences
What are the primitive data types in c?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Explain what is the difference between the expression '++a' and 'a++'?
can anyone suggest some site name..where i can get some good data structure puzzles???
What is an expression?