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
Why is the use of shell script?
What language is bash written in?
What are zombie processes?
How can I send a mail with a compressed file as an attachment?
What is $1 in shell scripting?
What is shell and shell script?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
how to get part of string variable with echo command only?
Write a script to print the first 10 elements of fibonacci series.
What lives in a shell?
How do I run a bin bash script?
What is the fastest scripting language?
What are types of shells?
Is bash an operating system?
What is an inode block?