Question
What is an array and how do you declare one?
Step 1
It allows you to store multiple values of the same data type in a single variable. To declare an array, you need to specify the data type of the elements it will hold, followed by the name of the array and the size of the array in square brackets. Here's an Show more…
Show all steps
Your feedback will help us improve your experience
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD