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
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
What is a stl vector?
How is stl different from c++ standard library?
How stl is different from the c++ standard library?
What are the symptoms 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
What is stl stack?
What is the stl, standard template library?
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
totoo po ba ang manga aliens!
What are the various types of stl containers?