C++ Inline Function Question:

If an argument to function is declared as const, then:

a. function can modify the argument
b. Function can't modify the argument
c. const argment to a function is not possible
d. None of these

C++ Inline Function Interview Question
C++ Inline Function Interview Question

Answer:

b. Function can't modify the argument


Previous QuestionNext Question
The Function overloading can also be achieved if two or more functions differ only in their return types.

a. True
b. False
In any ways, Non-member function cannot have access to private data of the class.

a. True
b. False