Question: what is the difference between scalar variable and array variable?
Answer: it is true when the elements of the array are treated as individual entities, and when the variable is a simple scalar variable such as an int. Array holds multiple values, whereas an ordinary variable hold a single value. ... It is not generally right to distinguish between a variable and an array.