Originally Posted by anoop4real Is this a correct statement ? int & rnum = 12; Is there any way to make this statement correct? In C/C++ this is not a valid statement. To make it a valid C++ statement add "const" in the statement like this. const & rnum = 12;
Forum Rules