What is output of the following program ?

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

Answer Posted / navya

1,1,2

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to swap two numbers without using third variable in c?

611


Where are c variables stored in memory?

592


Write a C program in Fibonacci series.

627


Why c is called procedure oriented language?

575


What is the benefit of using an enum rather than a #define constant?

652






What does s c mean on snapchat?

579


Compare and contrast compilers from interpreters.

678


what do u mean by Direct access files? then can u explain about Direct Access Files?

1636


Explain the difference between getch() and getche() in c?

560


How was c created?

584


What is a file descriptor in c?

555


Which is better between malloc and calloc?

664


What tq means in chat?

577


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

637


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

652