C examples for Operator:Increment Decrement Operator
What is the output of the program, decrementing operator
#include <stdio.h> int main()/*w ww . j ava2 s . co m*/ { int a,b; a=10; b=0; printf("A=%d and B=%d before decrementing.\n",a,b); b=a--; printf("A=%d and B=%d after decrementing.\n",a,b); return(0); }