Online Visitor Counter

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Friday, April 18, 2014

Increment Decrement


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int balls=10;
cout<<balls<<endl;
cout<<balls++<<endl;
cout<<++balls<<endl;
cout<<balls--<<endl;
cout<<--balls<<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

No comments:

Post a Comment

 
  • Blogroll

  • Consectetuer

  • Popular

  • Comments