In most cases extra blank spaces are ignored. For example this program -
#include<iostream.h>
int main()
{
cout <<"Hello World" << endl;
return 0;
}//end main
could be written with this syle -
#include<iostream.h>
int main()
{
cout << "Hello World" << endl;
return 0 ;
}//end main
Both will compile and run the same. This will also run and compile as the first -
#include<iostream.h>
int main()
{
cout<<
"Hello World"
<< endl
;
return
0
;
}//end main
Updated: Saturday, December 22, 2007 9:23 AM