When both the const and non-const version of functions are required?
When both the const and non-const version of functions are required? Correct Answer Return value have to be different in const
The return values can help to overload the functions. Also, this will allow us to use a non-const function to be called inside both the const and non-const version of functions.
মোঃ আরিফুল ইসলাম
Feb 20, 2025