answersLogoWhite

0

When a declared variable receives a value to hold.

i.e.

int lalalala;

lalalala = 0; //initialization of lalalala

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

Assigning a value to a variable in a declaration statement is called?

Answer is; initialization *** Edit*** Initialization is correct. Page 59 Programming Logic and Design by Tony Gladdis


Three kinds of iteration structures in c?

Iteration structures are also called as loops. The following are the loops available in c. 1. for (initialization; condition; increase/decrese) statement 2. while (expression) statement 3. do statement while (condition)


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 are three components that control the loop?

The three main components that control a loop are the initialization, the condition, and the increment/decrement statement. Initialization sets the starting point of the loop, the condition determines when the loop should continue running, and the increment/decrement statement updates the loop variable to progress towards the termination condition. Together, these components ensure that the loop executes the desired number of times and eventually exits when the condition is no longer met.


What is the root of the word initialization?

Initial


What is lazy initialization?

Lazy initialization is a process by which an object is not initialized until it is first called in your code. The .NET 4.0 introduces a new wrapper class, System.Lazy<T>, for executing the lazy initialization in your application. Lazy initialization helps you to reduce the wastage of resources and memory requirements to improve performance. It also supports thread-safety.


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 Variable declaration and variable initialization?

...are important things in programming. Example: extern int variable; /* declaration */ int variable= 8; /* definition with initialization */


What is the syntax of for loop statement?

syntax: for(initialization;condition;increment) { statements s1; statements s2; } #include<stdio.h> main() { int i,n=5; for(i=0;i<n;i=i+1) { printf("the number s are %d", i); } }


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


What is the difference between declaration and initialization?

Perhaps an example will help. extern int value; /* declaration */ int value; /* definition */ int value= 20; /* definition with initialization */


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 */