Can a constructor return a value?
Answer / nashiinformaticssolutions
It is possible for a constructor to return a value. A constructor cannot explicitly return a value; instead, it implicitly replaces the current instance of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does std :: flush do?
Describe run-time type identification?
How does a copy constructor differs from an overloaded assignment operator?
What is a built-in function?
What is capacity in vector in c++?
Const char *p , char const *p What is the difference between the above two?
What are c++ stream classes?
Difference between class and structure.
What are the advantage of using register variables?
What is an overflow error?
What is #include iomanip?
What do you mean by enumerated data type?