Multiple choice technology web technology

Difference between variable and array:

  1. Variable can store multiple value but array can not store

  2. Variable can not store multiple value but array can

  3. Both are same

  4. None of them

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A standard scalar variable stores only a single value at any given time, whereas an array is a data structure designed to store multiple values (elements) under a single identifier.