diffence in main loop

thejeshp's Avatar, Join Date: Nov 2007
Newbie Member
1. What is the difference between -
int main () {}
int main () {return 0;}
int main () {exit (0);}

2. How will this behave - char p=NULL; char &q=p;?
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Moved ti C-C++ forum for better responses.