Consider these two function definitions:

void foo() { }

void foo(void) { }

Is there any difference between these two? If not, why is the void argument there? Aesthetic reasons?

4 Answers
4

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *