Example of Increment and Decrement operator in cprogramming langauage
C Programming Language Operators and Enums in C Language (Article) Operators and Enums in C Language (Program)
853Program:
#include int main() { int a = 10; a++; printf("%d \n",a); a++; printf("%d \n",a); ++a; printf("%d \n",a); a--; printf("%d \n",a); a--; printf("%d \n",a); --a; printf("%d \n",a); return 0; }
Output:
11 12 13 12 11 10 Press any key to continue . . .
Explanation:
None
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.