I'm using gcc 4.4.1 C/C++ compiler for programming in Ubuntu.
The thing I noticed is,
The program works with no errors even though I don't type the function to be as ' void main ' or ' return 0 ' ( or return any value) at the end of the program..
It absloutely works !!
But not in Turbo C/C++ IDE ( which we use in Windows ), a DOS compiler !!