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 the scope of resolution operator.
What are the static members and static member functions?
What can I use instead of namespace std?
What is the size of pointer ? Also size of pointer in 64 bit pointer
Explain storage qualifiers in c++.
In a function declaration, what does extern mean?
Explain the difference between c++ and java.
Explain working of printf?
What flag means?
Explain how an exception handler is defined and invoked in a Program.
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
What are the 4 types of library?