logo

Crowdly

Given the following code: 1 int arr[] = {5, 10, 15, 20, 25, 30}; 2 int ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Given the following code:

1  int arr[] = {5, 10, 15, 20, 25, 30};

2 int *ptr1 = arr;

3 int *ptr2 = ptr1 + 5;

If the base address of

arr is 4001, what will be the value of

ptr2 after line 3? (Just write the value in the box provided, and nothing else.)

More questions like this

Want instant access to all verified answers on dle.plaksha.edu.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!