Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

++m in c

#include <stdio.h>
int main() {
   int i=5,j;
   j=i++;
   printf ("
after postfix increment i=%d j=%d", i,j);
   i=5;
   j=++i;
   printf ("
 after prefix increment i=%d j=%d",i,j);
   return 0;
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+8 =