Consider the following code segment What will be the output of-03258
Consider the following code segment. What will be the output of this code segment?<br>int arr[6] = {2, 3, 7, 4, 5, 6};<br>int *ptr1 =arr[1];<br>int *ptr2 = arr[4];<br>cout << (ptr2-ptr1);
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.17.