Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

What's the difference (in c++) between these two definitions: int const x; const int x;

OpenStudy (anonymous):

Oops. didnt mean to close it

OpenStudy (opcode):

Okay I wish I could take credit for this but I can't. Here is a good answer to you question: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/59572c5d-05a4-492f-b52e-4823d9fa7a88/ I find Mihai Nita answer to be easier to understand at least for me.

OpenStudy (anonymous):

Does this mean there's only a difference when using pointers?

OpenStudy (opcode):

Yes.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!