• Post Reply Bookmark Topic Watch Topic
  • New Topic

Prefix postfix  RSS feed

 
Suyash Gulati
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is line2 valid?

int a=5; //line1
++a++; //line2
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried compiling it ? What happened ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!