why const value can not be changed during runtime? Explain please
Loading
why const value can not be changed during runtime? Explain please
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Sep 11, 2022, 9:44 AM
Rajanikant HawaldarPosted Sep 11, 2022, 8:53 AM
Vishal YelvePosted Sep 11, 2022, 7:58 AM
Const is a compiled time const. Which means once it's declare we cannot change the value.
Also please refer below video link for better understanding.
https://youtu.be/vNPBWNNlDwM