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
What two types of containers does the stl provide?
What is stl in oop?
how to use C++?
When did c++ add stl?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
What is meant by stl in c++?
What are the components of stl?
What is stl stand for?
What is stl stack?
Is there any error below, its a code to delete all entires from a map #include
write a program to convert a decimal number in to its equivalent binary number?
Define stl.
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
sir please send me bpcl previous question papers
What is the stl, standard template library?