View Single Post
  #3 (permalink)  
Old July 24th, 2003, 10:05 PM
nigor nigor is offline
Registered User
 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, from what I know, main() function should return an int value as defined by ISO standart. And indeed if you try to just type in main() or void main() in GCC, it will give you some warning about ISO reference thingies. Since int main() function should return an inretger value, return 0 is used.

Reply With Quote