Which of the following function never take any argument?
By BYJU'S Exam Prep
Updated on: September 25th, 2023
![](https://bep-wordpress.byjusexamprep.com/wp-content/uploads/2023/08/23171956/external-image-1716.jpg)
Which of the following function never take any argument?
- Member Functions
- Friend Functions
- Default Constructor
- Const Functions
Table of content
Answer: Option C. Default constructor
Default constructor never take any argument.
Solution
The answer to the question- which of the following function never take any argument is provided here. The default constructor never take any argument. However, a default constructor has a default argument along with default values. The main aim of the default constructor is to initialize objects. The member functions, friend functions, and const functions may take arguments.
☛ Related Questions: