int main() {} is okay. An empty parameter list for a prototype is not the same however.
For the function definition itself, () is the same as (void) (as Prelude pointed out to me).
Printable View
int main() {} is okay. An empty parameter list for a prototype is not the same however.
For the function definition itself, () is the same as (void) (as Prelude pointed out to me).
Ok. Gotcha. Since main isn't prototyped...