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

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

  1. 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.

Leave a Comment