C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 2)
2.
Which of the following is not a type of constructor?
Copy constructor
Friend constructor
Default constructor
Parameterized constructor
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
68 comments Page 3 of 7.

Laxmikant said:   1 decade ago
The only three constructor the friend constructor is a not constructor it is a function.

Lalit said:   1 decade ago
Friend is a function, not a class & constructor is used with class, constructor is a function that create a object.

Vidya v nair said:   1 decade ago
What is a friend function?

Preetham said:   1 decade ago
What is copy constructor?

Gautam kanawade said:   1 decade ago
Why constructor does not have any return type?

Lachu said:   1 decade ago
The use of parameterized constructor is passing the values to the function.

Siva said:   1 decade ago
What is the function of virtual function?

Swati said:   1 decade ago
Friend keyword is use to create a friend function or friend class, it is not a type of constructor.

Ganesh Vahinde said:   1 decade ago
Friend is not a constructor it is the function, which allows to use the private data out side the class.

Hemu jai said:   1 decade ago
What is the purpose of three constructor? what is the definition ?


Post your comments here:

Your comments will be displayed after verification.