164k views
5 votes
Class function which is called automatically as soon as the object is created is called as __

A - Constructor

B - Destructor

C - Friend function

D - Inline function.

User Suzette
by
7.7k points

1 Answer

2 votes
Answer: A- Constructor
User Cagatay Kalan
by
7.1k points