Consider the following code segment.
#include <iostream>
using namespace std;
int main() {
int a[] = { 5, 20, 15 }; int *arr [3] = { a, a + 1, a + 2 };
cout << *arr[arr[1] - 19];
return 0;
}
What will be the output?
a) 5
b) 20
c) 15
d) Unpredictable value
Answers
Answered by
0
Answer:
Don't know about it
Please follow me
Similar questions