aaaa
Showing posts with label
Increment Operator in C
.
Show all posts
Showing posts with label
Increment Operator in C
.
Show all posts
Monday, 23 February 2015
Increment Operator in C
#include<stdio.h>
#include<conio.h>
main()
{
int a=10;
clrscr();
printf("\n Post Increment
:%d",a++);
printf("\n Pre Increment
:%d",++a);
printf("\n Post Decrement
:%d",a--);
printf("\n Pre Decrement
:%d",--a);
getch();
}
Older Posts
Home
Subscribe to:
Posts (Atom)