1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

diffence in main loop

Discussion in 'C' started by thejeshp, Nov 5, 2007.

  1. thejeshp

    thejeshp New Member

    Joined:
    Nov 5, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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;?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    Moved ti C-C++ forum for better responses.
     

Share This Page