65. Pointer-iii

Question.6

A developer computes the number of elements between two pointers:

int arr[6] = {10, 20, 30, 40, 50, 60};
int *start = &arr[1];
int *end = &arr[4];
int count = end - start;

What is the value of count?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!