Link to the question
20. main()
{
int i=5;
printf("%d%d%d% d%d%d",i++,i--,++i,--i,i);
}
The output is given as 45545. But I am getting 45555. Please clarify.
In general how to resolve these kind of problems?
20. main()
{
int i=5;
printf("%d%d%d% d%d%d",i++,i--,++i,--i,i);
}
The output is given as 45545. But I am getting 45555. Please clarify.
In general how to resolve these kind of problems?
Comment