Answer Posted / 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 |
Post New Answer View All Answers
Explain the auto storage classes in c++.
How can virtual functions in c++ be implemented?
How one would use switch in a program?
What is the use of setprecision in c++?
Why main function is special in c++?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
What is scope in c++ with example?
How do I use arrays in c++?
Does c++ have finally?
What are the three forms of cin.get() and what are their differences?
What is c++ runtime?
What is a float in c++?
Can c++ be faster than c?
What size is allocated to the union variable?
How long it will take to learn c++?