Computer Science, asked by Sriyanshu44, 1 year ago

What is variable in computer​

Answers

Answered by Brainlyumeko
16

\bold{ANSWER}

Variables can be thought of as named containers in the computer's memory. These containers are used to place data and refer to the value using the name.

An identifier is the name of a variable. An identifier can't use reserved keywords. Reserved keywords in JavaScript are - break, else, if, while etc.

_______________________ _ _

Variable Declaration

▪Variables in JavaScript can only be defined using the keyword "var".

▪The equal to (=) sign is used to assign a value to a variable.

▪User can either, separately declare tge variable and then assign values to it or straight - away declare and initialize the variables.

Answered by HelperBrain
1

In programming, a variable is a value that can change, depending on conditions or on information passed to the program. Typically, a program consists of instruction s that tell the computer what to do and data that the program uses when it is running.

Plz mark my answer as brainliest.

Similar questions