What is the difference between a variable and value?
Answer Posted / veveritoiulpofticios
Variables are storage for values. They are identified by a name.
Values are a pair of:
1) a representation (numbers stored in computer memory)
2) a meaning associated with that representation (also called a type).
Example (C programming language):
char c = 'A';
c is a variable (a location in computer memory, identified by the name c)
c stores the value 'A', which is:
the number 65, meaning the index of character A in the ASCII table.
| Is This Answer Correct ? | 28 Yes | 8 No |
Post New Answer View All Answers
What is $1 in shell scripting?
Why do we write bin bash in shell scripts?
What is k shell?
What is a beat in a script?
What is a shell environment?
What does echo $0 do?
How to open a read-only file in the shell?
How can you find out how long the system has been running?
how will you find the total disk space used by a specific user?
Why is the use of shell script?
Please give me example of " at command , contrab command " how to use
How to get the 3rd element/column from each line from a file?
What is console line?
When should shell programming/scripting not be used?
How to check if the previous command was run successfully?