Computer Science, asked by llsamriddhisinghll, 4 months ago

Define variable.How is it declared in C++?​

Answers

Answered by kumarianjali66761
2

Answer:

A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C has a specific type, which determines the size and layout of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied to the variable.

Answered by namirata1
0

Answer:

It is the basic unit of storage in a program. The value stored in a variable can be changed during program execution. A variable is only a name given to a memory location, all the operations done on the variable effects that memory location. In C++, all the variables must be declared before use.

Explanation:

Hope this will help you.

Plz mark me as BRAINLIEST too.

Similar questions