C Program to Demonstrate Increment and Decrement

 #include<stdio.h>

void main()

{

    int a=5;


    printf("Post Increment = %d\n",a++);

    printf("After = %d\n",a);

    printf("Pre Increment = %d",++a);

}

Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices