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...
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
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)