Algo++-Pointers and Function

Pointers MCQs,Question number 6.I need the explaination of the answer.

hey @itsexp_2302,
ptr=arr means ptr is pointing to first element of array
ptr+1= means now ptr is pointing to second element of array.
ptr+2= means now ptr is pointing to third element of array.
ptr+3= means now ptr is pointing to fourth element of array.

Intially ptr= arr, which means ptr was pointing to element 0, and i=0 also.
so ptr+0 will be pointing to element 0, so 0 is printed. but ptr remain pointing to 0

now with ptr++, ptr will point to element 1 and i becomes 1
so ptr+1 will be pointing to element 2,because ptr is at element 1 and ptr+1 will come to element 2
so 2 is printed. but ptr remain pointing to 1

now with ptr++, ptr will point to element 2 and i becomes 2
so ptr+2 will be pointing to element 4, beacuse ptr is at element 2 and ptr+2 will come to element 4
so 4 is printed. but ptr remain pointing to 2

now with ptr++, ptr will point to element 3 and i becomes 3.
But the condition ptr+i <= arr+4 fails.
as arr+4 will point to 5th element of array and ptr+3, will point to 6th element of array.