Saved Bookmarks
| 1. |
Difference between ordinary variable and array variable |
|
Answer» Answer: Array is different from ordinary variable because Array holds multiple values,whereas an ordinary variable HOLD a SINGLE value.It is true when the elements of the array are treated as INDIVIDUAL entities,and when the variables such as an int.It is not generally RIGHT to distinguish between a variable and an array. Ordinary Variable An Ordinary variable can contain only a single value. HOWEVER, an Array can contain multiple values, each identified by its own index number. Array Array can contain multiple values, each identified by its own index number. Explanation: |
|