My photo
Bangalore, Karnataka, India
Extending one hand to help someone has more value rather than joining two hands for prayer

Archives

fundamentals of signed and unsigned numbers

Tuesday, September 1, 2009

#include<iostream.h>
 #include<conio.h>
 void main()
 {
  clrscr();
  int i=32000;
  cout<<i<<endl;
  i=40000;
  cout<<i<<endl;
  signed k=40000;
  cout<<k<<endl;
  unsigned j=40000;
  cout<<j<<endl;
  float l=50000;
  cout<<l<<endl;
  l=555.57;
  cout<<l<<endl;
  getch();
  }

0 comments: