const keyword in C++
Const keyword define constant values that cannot change while the program is running. A const variable must be assigned a value when it is declared. If we try to change its value after it has been initialized, we will get a compilation error. Use of const keyword with different parameters: Variables Pointers Function arguments and […]
October 16, 2022 | C++ | No comments