Self increase operator : Operator Self Increase « Language Basics « C / ANSI-C






Self increase operator

#include <stdio.h>

int main(void)
{
  int i, j;

  i = 1 ;
  j = i++;

  printf("i = %d  j = %d", i, j);

  return 0;
}

 

           
       








Related examples in the same category

1.Self increase and decrease operator
2.Self operator