Computer Science, asked by shubhpatil1313, 3 months ago

what are variables ? Explain difference between initialization and declarationtion of variable​

Answers

Answered by sakshisolanki9265
3

Answer:

For a variable, a definition is a declaration which allocates storage for that variable.

Initialization is the specification of the initial value to be stored in an object, which is not necessarily the same as the first time you explicitly assign a value to it.

Declaration, generally, refers to the introduction of a new name in the program. For example, you can declare a new function by describing it's "signature":

Explanation:

pls mark me as brilliant

Answered by debanjan134612
1

Answer:

what are variables?

Variables are used to store information to be referenced and manipulated in a computer program.

Explain difference between initialization and declarationtion of variable.

For a variable, a definition is a declaration which allocates storage for that variable.

Initialization is the specification of the initial value to be stored in an object, which is not necessarily the same as the first time you explicitly assign a value to it.

Similar questions