Why can you not make a constructor as const?

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


Please Help Members By Posting Answers For Below Questions

Why do we use the using declaration?

774


Why is polymorphism useful?

671


Who invented turbo c++?

731


What is class and structure in c++?

647


To which numbering system can the binary number 1101100100111100 be easily converted to?

701






Can a class be static in c++?

675


What are the characteristics of friend functions?

650


How do I tokenize a string in c++?

704


What is the return value of the insertion operator?

713


What is meaning of in c++?

762


What is the type of 'this' pointer?

700


What is function prototyping? What are its advantages?

682


Can member functions be private?

675


What is an html tag?

720


What is atoi in c++?

664