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 |
Explain unexpected() function?
What are formatting flags in ios class?
What is the use of default constructor?
What are the various operations performed on stack?
Why was c++ created?
What are function poinetrs? where are they used?
What is the difference between global int and static int declaration?
What are the differences between a struct in C and in C++?
how to explain our contribution in the project?
What is c++ w3school?
What are the operators in c++?
What are the two main components of c++?