C++ Inline Function Question:
Download Questions PDF

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

Download C++ Inline Function Interview Questions And Answers PDF

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