Consider the following code segment What will be the output of-03198
Consider the following code segment. What will be the output of this code segment?int arr[6] = {2, 3, 7, 4, 5, 6} ;int *ptr1 =&arr[1] ;int *ptr2 = &arr[4] ;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.11.