While reading the K&R 2nd edition I noticed that the programs always began with
\"main(){\". I had always thought that main() had to have int or void before it. So that
Syntax most of times depends on the compiler. For example, when you use visual c++ you write "void main" but when you use GCC, you should write "int main()" and then return 0 or 1 if the program finished good or bad.