hi, what is the difference between these?
what is the impact of void there?Code:int abc() {
...
}
int abc(void) {
...
}
thank you in advance
Printable View
hi, what is the difference between these?
what is the impact of void there?Code:int abc() {
...
}
int abc(void) {
...
}
thank you in advance
Try calling both of them with
abc(123);
Oh, and the answer is different in C++, just in case you don't know which language you're programming in.
sorry that i didn't look at it, ty for answers..