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
Who calls main function?
What is the advantage of c++ over c?
What is this weird colon-member (" : ") syntax in the constructor?
Can a function take variable length arguments, if yes, how?
What does ios :: app do in c++?
Explain abstraction.
Define a pdb file.
What is endl?
Why cout is used in c++?
How do you establish a has-a relationship?
What is class syntax c++?
What is a static element?
Explain the concept of dynamic allocation of memory?
Explain the use of this pointer?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?