Hi!
I just want to know which is faster.
void (int *Number) or
void (int &Number)
Thanks!
Printable View
Hi!
I just want to know which is faster.
void (int *Number) or
void (int &Number)
Thanks!
Same.
gg
This is faster, because:Quote:
void (int *Number)
This is not valid. This is the C board, not the C++ board. ;)Quote:
void (int &Number)
Quzah.
Hm...
I'll rephrase the question.
Which is faster, references or pointers?
The awnser is still the same.
Pun intended.
gg