What is a constructor initializer list?

What is a constructor initializer list?

Constructor Initializer List is a bassically a use for a some valid values.Its Main purpose of the contstuctor is to initialize the data members with some valid values.This can be done in two ways :
> To initialise a const
> To initialise a reference

By:UMANG
Date:2007-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher