VARIABLES IN
C
VARIABLE: Variable is an identifier used to store a
single data item. This data could be a numerical quantity or character
constant.
During execution of a Program we must declare a variable.
· A
variable can take a different values at different times during the execution of
a Program.
· The
data stored in the variable can be accessed anytime, by referring to the
variable Name
Ex: int x=1;
int is a data type and x is a variable and 1 is a
value
Above we have declared a variable and we initialized
a value in variable.
Nice one just do some other
ReplyDeleteDo on identifiers
ReplyDeleteNice one just do some other
ReplyDelete