Answer Posted / m.shanmuga sundaram
Constructor is a default member function available with a
class.
It can be explicitly defined in a class to initialize the
variables.
Constructor is called when an object is created for a class.
Rules for defining a constructor
********************************
The name of the constructor should possess the same name of
the class.
The constructor member function should not return a value.
| Is This Answer Correct ? | 102 Yes | 17 No |
Post New Answer View All Answers
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
Explain stl.
What are the components of stl?
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
What does stl mean in slang?
sir please send me bpcl previous question papers
What is a stl vector?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
Why should a c++ programmer be interested in stl?
Is stl open source?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
What is a standard template library (stl)?
What is the stl, standard template library?
What does stl stand for in basketball?