Thank you very much Anon for taking the time to give me an example. I do very much appreciate it.
Type: Posts; User: cc++learner
Thank you very much Anon for taking the time to give me an example. I do very much appreciate it.
Thanks a lot for the reply Salem. I think what you mentioned explains the issue. I am trying to understand what Dr.Bjarne Stroustrup mentions in his Book TC++PL Sec.10.2.2 by "The protection of...
I was trying to modify a const int using pointer. To my surprise, I was able to modify it but was surprised to see that the values when printed out from the const int and through pointer shows...