C++20 sections · 1024 units
Open in CourseQuiz: Pointer Arithmetic
Understanding movement
Check Your Understanding
If ptr points to arr[2], what does *(ptr + 1) access?
- A.arr[3]
- B.arr[2]
- C.The address of arr[3]
- D.arr[1]
Understanding movement
If ptr points to arr[2], what does *(ptr + 1) access?