Monday, March 23, 2015

Initial of C Programs



#include 
 
void main () 
{
  int i;
 
  i=1;
  cout << "Initial value of i = " << i << ". The value of ++i is " << ++i<<". Now i = " << i << endl;
 
  i=1;
  cout << "Initial value of i = " << i 
    << ". The value of i++ is " << i++ 
      << ". Now i = " << i << endl;
}
 

No comments:

Post a Comment