answersLogoWhite

0

The general order of initialization is:

  1. Base class objects (if present)
  2. Member data objects
  3. Constructor function code
User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Initialization of variables in namespace in C plus plus?

Is an important thing to do.


What do you mean by initialization in c plus plus?

Not initialized variable: int myInt; Initialized variable: int myInt = 10;


What is the difference between instantiation and initialization in C plus plus?

Instantiation is creating the instance of the variable/object . While Initialization is to provide the variable with some value. int i; // i is an instance of an integer i=10; //initialised with the value 10


How do you avoid garbage values in c plus plus programs?

Initialization. Hint: your compiler might warn you, neverignore warnings if you aren't absolutely sure what they mean.


What do you mean by initialisation of objects in c plus plus?

Initialization of objects means to provide an initial value for the object. This is usually done by the constructor, or it can be done with an assignment statement.


User defined data type in c plus plus?

Use "typedef" : both in C and C++.


What is the intialization in c?

Initialization is nothing but assigning some value to a parameter. ex :- int a; // Defination of an integer variable a = 3; // Initialization of the variable a


Can an integer data type in c plus plus stores character value?

no


What is the price of the book data structure using c and c plus plus by tanenbaum?

225 Rs. after discount........


What are the two types of constant in c plus plus?

Constant data and constant functions.


What use of void data type in c plus plus?

doesn't return the value.


Is there anything similar between C and C plus plus with reference to data hiding?

No. Data hiding is a feature of object oriented programming. C does not support OOP, and therefore has no private member access. All members are public in C.