Answer Posted / sumit kumar
what happens if we make a constructor as const
then object which is not fully constructed,
inside it you can not initialize the instance variable.
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What are the restrictions apply to constructors and destructors?
How do you master coding?
What are the uses of c++ in the real world?
What's the best free c++ profiler for windows?
Explain what is polymorphism in c++?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
What is class and structure in c++?
What is ostream in c++?
What is the difference between global variables and static varables?
Explain the operation of overloading of an assignment operator.
Define copy constructor.
Explain what you mean by a pointer.
Why do we use classes in programming?
Describe exception handling concept with an example?