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


Please Help Members By Posting Answers For Below Questions

Explain what is wrong with this statement? Myname = ?robin?;

992


How many types of operators are there in c?

611


how is the examination pattern?

1595


What is const keyword in c?

739


What is double pointer?

554






What are reserved words with a programming language?

599


What is the modulus operator?

730


what are non standard function in c

1431


How can you allocate arrays or structures bigger than 64K?

678


What is the use of structure padding in c?

561


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

607


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

654


what are # pragma staments?

1624


Why string is used in c?

580


How can you be sure that a program follows the ANSI C standard?

1124