Mega Code Archive

 
Categories / C / Code Snippets
 

Self increase and decrease operator

#include <stdio.h> int main(void) { int j; j = 0; j++; printf("%d ", j); j--; printf("%d ", j); return 0; }