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 / dally
0 0 0 3 1
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain what is wrong with this statement? Myname = ?robin?;
How many types of operators are there in c?
how is the examination pattern?
What is const keyword in c?
What is double pointer?
What are reserved words with a programming language?
What is the modulus operator?
what are non standard function in c
How can you allocate arrays or structures bigger than 64K?
What is the use of structure padding in c?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
what are # pragma staments?
Why string is used in c?
How can you be sure that a program follows the ANSI C standard?