What is the difference between a variable and value?
Answers were Sorted based on User's Feedback
Answer / prakash
variable may be change but value still constant.
| Is This Answer Correct ? | 59 Yes | 16 No |
Variable itself a Variable and you Can assign anything with
variable.Some Value is Assigned to Variable.It's place in
memory is in Global.so you can change the assigned value to
the variable.
Value is a constant.It's palace is in Readonly memory mean
you can't change. as it's constant.
| Is This Answer Correct ? | 40 Yes | 17 No |
Answer / 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 |
Answer / orange
A variable is like a named "box" that holds a value. the name of the "box" is the variable name. Where a variable is used, it's actually the value held in the "box" that is used.
| Is This Answer Correct ? | 9 Yes | 9 No |
Answer / md.habibur rahman
Variable are attribute or natures that can be changed but
values are constant.
| Is This Answer Correct ? | 6 Yes | 6 No |
Answer / hari
variable insist the name or a character that is to the left of
the assignment.value is to the right of the assignment
operator
| Is This Answer Correct ? | 5 Yes | 9 No |
What is the significance of the shebang line in shell scripting?
What is meant by dos operating system?
What language is bash?
What is difference between shell and bash scripting?
I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp
How do I read a .sh file?
How to rename all the files in a folder having specific extension? Example: I have some files with extension (.txt) in a folder name 'Test'. I have to rename all the .txt files in a test and its subdirectories to .my extension.
What command needs to be used to take the backup?
What is the difference between bash and shell?
How to write a function?
I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
how to read systems current date and time