recategorized by
3,499 views
0 votes
0 votes
A __________ is a special method used to initialize the instance variable of a class.

(A) Member function

(B) Destructor

(C) Constructor

(D) Structure
recategorized by

2 Answers

Best answer
0 votes
0 votes
A constructor is a member function of a class which initializes objects of a class. In C++,Constructor is automatically called when object(instance of class) create.It is special member function of the class.

Ans: C

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
4
rishu_darkshadow asked Sep 17, 2017
1,430 views
The unlicensed National Information Infrastructure band operates at the _________ frequency(A) 2.4 GHz(B) 5 GHz(C) 33 MHz(D) 5 MHz