Q:
What would be the output of the following program?
main()
{
int i=2 ;
printf ("\n%d%d", ++i, ++i );
}
Answer
Output may vary from compiler to compiler.
The order of evaluation of the arguments to a function call is unspecified.
View answer
Workspace
Report Error
Discuss