Answer to Question #46778 in C++ for pramod

Question #46778
int a=10;
main()
{
int a=20;
printf("%d",a);
}

question : the output of program is 20, so now i want also print the old value of a (10) with out using help of pointer ??
or suguest othe method too....
0
Expert's answer

Answer in progress...

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS