How is it possible to have both const and non-const version of a function?
How is it possible to have both const and non-const version of a function? Correct Answer Function overloading
The functions can be declared const and non-const in the same program. The technique used is function overloading. We can define a const function and then a non-const version of same function using overloading.
মোঃ আরিফুল ইসলাম
Feb 20, 2025