0
Is there a difference between foo(void) and foo() in C++ or C?
These two function definitions: void foo() { } void foo(void) { } Any difference between these two? If not, why is the void argument there? Aesthetic reasons? Reference from: https://www.interviewbit.com/pwc-interview-questions/
1 Antwort