C++ Inline Function Question:
Download Questions PDF

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

a. True
b. False

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

Answer:

b. False

Download C++ Inline Function Interview Questions And Answers PDF

Previous QuestionNext 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
Function can be declared as friend maximum only in two classes.

a. True
b. False