hamburger

Which of the following function never take any argument?

By BYJU'S Exam Prep

Updated on: September 25th, 2023

Which of the following function never take any argument?

  1. Member Functions
  2. Friend Functions
  3. Default Constructor
  4. Const Functions

 

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:

Our Apps Playstore
POPULAR EXAMS
SSC and Bank
Other Exams
GradeStack Learning Pvt. Ltd.Windsor IT Park, Tower - A, 2nd Floor, Sector 125, Noida, Uttar Pradesh 201303 help@byjusexamprep.com
Home Practice Test Series Premium