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






Self operator

#include <stdio.h>

int main(void)
{
  int a, b;

  a = 1;
  a++;
  b = a;
  b--;
  printf("%d %d", a, b);

  return 0;
}

           
       








Related examples in the same category

1.Self increase operator
2.Self increase and decrease operator