C++ Programming :: Functions - Discussion
Home > C++ Programming > Functions > MCQs Questions Discussion
8 / 14
Choose the correct option.
A const member functions
Adoesn't change data fields of the object
Bcan't be overloaded
Cdon't have regurn type
Dhave no arguments
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
TRICK
A function will become const when we use 'const' keyword in function declaration. when we declare a function with const keyword, compiler does not allow that function to modify the state of the object on which the function being called.
Read Full Answer
Report Error
Please Login First Click Here