0
If I understand correctly I shout use void() only when a function has 0 parameters?
Am I correct
2 Réponses
+ 1
Hi. You're wrong. In this case void is return value type, not parameters.
Function with no parameters examples
int f1()
int f1(void)- no difference with first
void f()