0
What is the difference between void display; () and void display (void);
Difference between functio declaration types
2 Respostas
0
void display; () is not a function declaration;
void display (void) is called function prototyping and the "void" in the arguments list tells the compiler that there are no arguments .
The (void) Is pretty old and was used in c;
today in c++ we simply leave it empty like this
void display ();
0
difference void show and void display c++