Home What is the difference between const int*, const int * const, and int const *?
Reply: 0

What is the difference between const int*, const int * const, and int const *?

user310
1#
user310 Published in June 24, 2018, 3:06 am

I always mess up how to use const int*, const int * const, and int const * correctly. Is there a set of rules defining what you can and cannot do?

I want to know all the do's and all don'ts in terms of assignments, passing to the functions, etc.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.395777 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO