Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

what is ++i and i++

int i = 10, j = 10;
  
printf ("i is %i 
", i);
printf ("i++ is %i 
", i++);
printf ("i is %i 

", i);
  
printf ("j is %i 
", j);
printf ("++j is %i 
", ++j);
printf ("j is %i 
", j);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+2 =