In the following code snippet, the main function calls foo function without any parameter and parenthesis. It is strange that this code can be compiled by gcc. I actually ch
The expression foo is evaluated (giving the address of the function), and the result is discarded. Without the () operator, the function isn't called.
foo
()