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 |
Can a function take variable length arguments, if yes, how?
Why do we need templates?
How can I improve my c++ skills?
What are different types of polymorphism supported by C++
Is there any problem with the following: char *a=NULL; char& p = *a;?
Explain the use of vtable.
What is an ABC: an "Abstract Base Class"?
Can you pass a vector to a function?
How do you master coding?
What are the important differences between c++ and java?
What is the purpose of templates in c++?
a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?