Example of Increment and Decrement operator in cprogramming langauage
C Programming Language / Operators and Enums in C Language
890Program:
#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.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS