Call Support +91-85588-96644
TCYonline

Login

Sign Up

Please enter a Username or Email ID
Please enter a password
Keep me logged in
Please enter your name
Please enter your mobile number
You can't leave Captcha Code empty
By submitting this form, you agree to the Terms & Privacy Policy.
OR

Sign Up via Facebook

Sign Up via Google

Sign Up via Twitter

Download Software
Tests given

Download TCY App

App Image

In a class with parameterized constructor and having no default constructor, what type of error will occur whenever an object is created without arguments?

 
Runtime error
Compile time error
No error
Depends upon the compiler

Reply


Please type your answer before submitting.
Submit

If a user don't provide a default constructor, the c compiler will automatically provide the default constructor, so no error will be generated.

Huh!! So disappointed! And they call it the default constructor.. Shouldn't it be there as default??