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






Self increase and decrease operator

#include <stdio.h>

int main(void) {
  int i;

  i = 0;

  i++;
  printf("%d ", i);
  i--;
  printf("%d ", i); 

  return 0;
}

           
       








Related examples in the same category

1.Self increase operator
2.Self operator