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.
|