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 uses of .net

1279


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1731


Can you write a programmer for FACTORIAL using recursion?

618


What is a global variable in c?

598


What does 1f stand for?

618






Is it possible to use curly brackets ({}) to enclose single line code in c program?

806


What are the types of i/o functions?

689


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5468


Define the scope of static variables.

610


What is break statement?

641


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

618


why do some people write if(0 == x) instead of if(x == 0)?

664


What is %lu in c?

693


What are header files and explain what are its uses in c programming?

618


What is c method?

541