0

Can a variable be declared as const in C++ during runtime?

I have a value that is initialized at the start of code and never changes during runtime. Is there a way to declare that particular variable a const after determining its value at the start of the program?

25th Jul 2019, 5:12 PM
Ebad Qureshi
1 ответ