Computer Science, asked by naveen1681, 1 year ago

Default constructor ______.



a. Has one argument



b. Has no return type



c. Has one argument but no return type



d. Has no argument

Answers

Answered by digi18
0
Option B. It has no return type.


Thanks
Answered by brainlysme9
1

Default constructor has no argument (option d).

A default function  has no parameters or has default values for all of the parameters if it does have parameters. If a class A has no user-defined function  and one is required, the compiler declares a default parameterless function A::A() implicitly.

Similar questions