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?
Discussion:
68 comments Page 6 of 7.
Suneetha said:
1 decade ago
Rest of all are the types of constructor and friend is function.
Lachu said:
1 decade ago
The use of parameterized constructor is passing the values to the function.
Ankit Maharshi said:
1 decade ago
"friend" is a keyword which is use for class & function. It is not a constructor type.
Kajal kale said:
1 decade ago
Because friend function are used to the join to to the class. Hence it is not type of constructor.
Hemu jai said:
1 decade ago
What is the purpose of three constructor? what is the definition ?
Priyanka patra said:
1 decade ago
Friend is not a constructor. It's a type of function which allow to access private data member variable of a class.
Sneha kuwar said:
1 decade ago
There are only three type of constructor. Default, parameterized and copy.
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.
Swati said:
1 decade ago
Friend keyword is use to create a friend function or friend class, it is not a type of constructor.
Siva said:
1 decade ago
What is the function of virtual function?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers