Question: C program What is the output of the following code segment? int i, ptr 1, *ptr2; int arr[7] = {11, 22, 33, 44, 55, 66,
C program

What is the output of the following code segment? int i, ptr 1, *ptr2; int arr[7] = {11, 22, 33, 44, 55, 66, 77}; ptr 1 = &arr[2]; ptr2 = &arr[4]; for(i = ptr2-ptr1; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
