Program to show the effect of increment / decrement operator Source Code: #include<stdio.h> #include<conio.h> int main( ) { int x; clrscr( ); printf("\nEnter the value of x::"); scanf("%d",&x); printf("\n x++ After the post increment is::%d",x++); printf("\n The changed value of x is::%d",x); printf("\n\nEnter the value of x::"); scanf("%d",&x); printf("\n --x After the pre decrement is::%d",--x); printf("\n The changed value of x is::%d",x); return 0; } Output: Follow our site for more program like this..
Welcome to the programmings.... Here you get the program related to the c, c++, python...