66. Pointer-iv

Question.4

A developer writes:

int arr[5] = {1, 2, 3, 4, 5};
int *p1 = arr;
int (*p2)[5] = &arr;

What is the difference between p1 and p2?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!