Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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
d) The program gives an error

Answer: c
Explanation: Any function which is defined inside a class and has no complex operations like loops, a large number of lines then it is made inline.

Join The Discussion