+ 2
What does member initialization list do?
i am confused with the constant member variables.how does it differ from normal declaration?
1 Odpowiedź
+ 1
a normal variable can be assigned a value and can be changed later during the execution of the program. but in case of const variable, we cannot change the value once it is initialized.