Vidyalelo
C++ Programming · Q87

Functions and Procedures in C++

Programming · C++ Programming · question 87

Q87

What happens to a function defined inside a class without any complex operations (like looping, a large number of lines, etc)?

A.
It becomes a virtual function of the class
B.
It becomes a default calling function of the class
C.
It becomes an inline function of the class
Answer
D.
The program gives an error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board