If const version of a function when overloading is used, the function ___________________

If const version of a function when overloading is used, the function ___________________ Correct Answer Returns const reference

The function returns a const reference. This is to ensure that the value of object calling the function is not modified. This is a security feature.

Related Questions

How is it possible to have both const and non-const version of a function?
When both the const and non-const version of functions are required?
What will be the output of the following PHP code? () { define("const","I am awesome!"); echo constant("const"); } one(); ?>
If a const object calls a non-const member function then ____________________
What will the given C code do?
int memcmp(const void *str1, const void *str2, size_t n)
What will be returned in the following C code?
size- t strlen(const char *s)const char *sc;for(sc = s; *sc!= ' \ O ' ; ++sc)return(sc - s) ;