void main()
{
int i=2;
clrscr();
printf("%d %d %d %d %d",i++,i--,--i,++i,i) ;
getch();
}
Subhasis giri
0
Newbie Poster
Recommended Answers
Jump to Postline 5 is undefined behavor, the value printed for i may be difference from one compiler to the next.
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
naveen1993
-3
Newbie Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.