Difference between const reference and normal parameter

Posted by Pirate for Profit on Stack Overflow See other posts from Stack Overflow or by Pirate for Profit
Published on 2010-04-13T05:26:04Z Indexed on 2010/04/13 5:32 UTC
Read the original article Hit count: 211

Filed under:
|
|
|
void DoWork(int n);
void DoWork(const int &n);

Whats the diff

© Stack Overflow or respective owner

Related posts about c++

Related posts about reference