What is Constructor

Answer Posted / shalini chopra

IT IS A MEMBER FUNCTION WHOSE TASK IS TO INITIALIZE THE
OBJECTS OF ITS CLAASS.
IT IS INVOKED A SOON AS THE OBJECT ASSOCIATED WITH THAT
CLASS IS CREATED.
ITS TYPES:-
1> COPY CONSTRUCTOR
2>
PARAMITERISED CONSTRUCTOR
3>
DUMMY CONSTRUCTOR
4>
DYNAMIC CONSTRUCTOR

Is This Answer Correct ?    103 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is template and type convertion

2092


In what scenario does the Logical file and Physical file being used?

2425


Why should a c++ programmer be interested in stl?

722


What is a standard template library (stl)?

731


What does stl mean in slang?

727






What is stl in oop?

805


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2959


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

1982


What is the use of stl?

727


What are the different types of stl containers?

743


What two types of containers does the stl provide?

652


What are stl algorithms?

709


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.

2410


What is stl stand for?

811


Is stl open source?

719