Pages

Friday, August 19, 2016

Use of increment (++) operator in C program.


//Use of increment (++) operator in C program.
#include<stdio.h>

void main()
{
    int marks=59;
           
    marks++; //will add 1 to 59
          
    printf("%d", marks);
}

Output of the Program:


60


No comments:

Post a Comment