//Use of decrement (--) operator in C program.
#include<stdio.h>
void main()
{
int marks=61;
marks--; //will subtract
1 from 61
printf("%d",
marks);
}
|
Output of the Program:
60
This blog assists in mastering C and C++ programming skills from basics to advanced levels.
No comments:
Post a Comment