#include<stdio.h>
#include<conio.h>
void main() {
int a=5;
clrscr();
printf("\n the value is %d",a);
printf("\n the value is %d",a++);
printf("\n the value is %d",a);
printf("\n the value is %d",++a);
}
Output:
the value is 5
the value is 5
the value is 6
No comments:
Post a Comment