Why do people still use main() or main(void)?
If the standard today is to write : int main(void) or int main(int argc, char *argv[]). Return 0 is implied under the C99 standard so some people ommit it but it's supposed to be good programming to include it. Maybe ommitting the return 0; reduces program size and speeds up the execution of the program, although the speed up is obviously negligable.
So why do people continue to use main() and main(void)? without int
If I started a program with main() and left out the return 0; it'll work okay right? and i won't run into any problems under the C99 environment?
What does it mean when a function returns an integer?
Some functions return an integer like int main( ) and some of them return void ( I mean nothing) what does it mean when it returns an integer and something like void and what are the arguments of the function?
Please reply!