Hello everyone,
We always write const int other than int const, are they the same?
Example,
Code:int const & x = 10;
const int& y = 10;
thanks in advance,
George
Printable View
Hello everyone,
We always write const int other than int const, are they the same?
Example,
Code:int const & x = 10;
const int& y = 10;
thanks in advance,
George
They are the same.
Thanks Marc,
My question is answered.
Quote:
Originally Posted by Marc G
regards,
George