Computer Science, asked by sahuharshika938, 5 months ago

what is constant and variable in basic​

Answers

Answered by Anonymous
1

 \huge \bold \red {❥answer}

A constant is a data item whose value cannot change during the program's execution. Thus, as its name implies – the value is constant. A variable is a data item whose value can change during the program's execution. Thus, as its name implies – the value can vary. Constants are used in two ways.

Answered by anshika0097
1

Answer:

A constant is a data item whose value cannot change during the program's execution. Thus, as its name implies – the value is constant.

A variable is a data item whose value can change during the program's execution. Thus, as its name implies – the value can vary. Constants are used in two ways.

Hope it is helpful !! :)

Similar questions