Computer Science, asked by hanuman9476, 3 months ago

When a variable gets initialized during program execution, its known as _______ ______.​

Answers

Answered by anindyaadhikari13
3

Answer:-

When a variable gets initialized during program execution, its known as Dynamic Initialisation.

Answered by BrainlyProgrammer
0

Answer:

When a variable gets initiallized during program execution, it is known as Dynamic Initialization

Learn more:

There are two kinds of Initialization in a program.

  1. Static Initialization :- When a variable gets initialized at a time of declaration of the variable, it is called Static Initialization. Example:- int a=5; Here a is declared to integer data type and initialized to 5.
  2. Dynamic Initialization:- When the variable gets initialized during the run-time execution of the program, it is called Dynamic Initialization. Example:- int a=5, b=10, ab=a+b; Here a, b are integer data type with values 5 and 10 respectively. ab is also int datatype but it stores the sum of a and b. So during the execution of the program, ab will store 5+10=15 which is an example of run-time execution.
Similar questions