Question 1 (1.5 points)
What does the following declaration most accurately mean?
1 #include <iostream>
2 using namespace std;
3
4 int main()
5{
6
int a[10]={1,2,3,4,5,6,7,8,9,10};
int *ptr=a;
7
8
9
10
11}
12
13
14
15
return 0;
ptr is a pointer to an array of 10 integers
ptr is an array of 10 integers
ptr is an array of pointers of 10 pointers
ptr is an integer