Please help with references concept in C++

  • Thread starter Thread starter pelonis
  • Start date Start date
P

pelonis

Guest
Hi,


In C++, when creating a variable, what is the difference between


(1) int& const

(2) int const&

(3) const& int and

(4) const int&


Please explain the concept without using pointers.


Thank you.

Continue reading...
 
Back
Top