what the Benefits of putting ++ after a variable. I have tested it but give same result. Look at my both program's
Value of a is 5Code:#include <stdio.h>int main(void) { int a = 5; printf("Value of a is %d \n",a); return 0; }
Value of a is 5Code:#include <stdio.h>int main(void) { int a = 5; printf("Value of a is %d \n",a++); return 0; }