hi, what is the difference between these?
what is the impact of void there?Code:int abc() { ... } int abc(void) { ... }
thank you in advance
This is a discussion on Impact of void on prototype within the C Programming forums, part of the General Programming Boards category; hi, what is the difference between these? Code: int abc() { ... } int abc(void) { ... } what is ...
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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
If you understand what you're doing, you're not learning anything.
sorry that i didn't look at it, ty for answers..