Can we use volatile with const? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can we use volatile with const?

Where it is used in code application.

17th Jan 2019, 7:11 PM
Ab Rt
1 Answer
+ 4
I used it here to demostrate C++ can modify constants via pointers. https://code.sololearn.com/cRxbYsFYXnrw
18th Jan 2019, 12:06 AM
John Wells
John Wells - avatar