What is output of the following program ?

main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}

Answer Posted / murali

3 2 1

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %lu in c?

675


Explain what math functions are available for integers? For floating point?

607


Which is better between malloc and calloc?

664


In c programming language, how many parameters can be passed to a function ?

624


What is a macro, and explain how do you use it?

621






Which is better oop or procedural?

622


What is the difference between a free-standing and a hosted environment?

635


What is the use of typedef in structure in c?

536


What is queue in c?

569


Whats s or c mean?

589


Explain what is the difference between the expression '++a' and 'a++'?

623


Explain what is meant by 'bit masking'?

638


What is cohesion in c?

534


Discuss the function of conditional operator, size of operator and comma operator with examples.

675


What does. int *x[](); means ?

627