Computer Science, asked by Anonymous, 1 year ago

what is variable?
computer

Answers

Answered by Shiva123456
7
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.
The data consists of constants or fixed values that never change and variable values (which are usually initialized to "0" or some default value because the actual values will be supplied by a program's user). Usually, both constants and variables are defined as certain data type s. Each data type prescribes and limits the form of the data. Examples of data types include: an integer expressed as a decimal number, or a string of text characters, usually limited in length.In object-oriented programming , each object contains the data variables of the class it is an instance of. The object's method s are designed to handle the actual values that are supplied to the object when the object is being used.
Answered by ShreyaSingh31
15
variables are letters to whom which we can assign values in a computer they are used for solving equations like a is equal to 5 and is equal to 7 then a + b equal to C or 12

ShreyaSingh31: thank u
Anonymous: hi
Anonymous: msg me in box
Anonymous: i have msg u
ShreyaSingh31: hi
Anonymous: msg me in inbox
Similar questions