answersLogoWhite

0

What do you mean by initialization in c plus plus?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

Not initialized variable:

int myInt;

Initialized variable:

int myInt = 10;

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do you mean by initialization in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Initialization of variables in namespace in C plus plus?

Is an important thing to do.


What is the order of initialization of data in C plus plus?

The general order of initialization is:Base class objects (if present)Member data objectsConstructor function code


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.


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


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


What is the mean c plus plus in machine code?

It is used to distinguish between the C or C++


When variable in c gets memory After declaration or initialization?

Definition. Example: extern int x1; /* declaration */ int x2; /* definition */ int x3= 2; /* definition with initialization */


In C plus plus Interface is also known as?

I guess you mean Java, there is no interface in C++.


What is for in c plus plus?

for is a loop in C++. It is used to repeat some instructions for required time. Syntax : for(counter initialization;condition;counter update) e.g. //Program to print numbers from 1-100 #include<iostream.h> #include<conio.h> void main() { int i; for(i=1;i<=100;i++) cout<<i<<endl; getch(); }


What does c mean in y equals mx plus c?

c is any constant value


What does B plus A mean at bottom of a letter?

b=2 a=1 c=3 so b plus a =c