How to declare constant value in x++
-> Constant values can be used to define a variable and assign it a value that does not change.
-> We can define a constant variable by adding the keyword const before defining a variable.
Ex:
const str constantVariable = "Value";
Comments
Post a Comment