Answer to Question #46780 in C++ for pramod
question : output of the code is a=20 but i want also print the old value of a (10), with out using pointers ? or suggest me other possible methods too...
Thank you! We've corrected answer and category.
u should do this with SRO(scope resolution operator) then u can also access also the old value of variable(a)