Computer Science, asked by urmisarkar2020, 6 months ago

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 Ameya09
0

Answer:

Explanation: Which assignment is not valid for integer arrays in c programming?(arr,arr 1 and arr2 are integer arràys) A)arr[4]={1,2.5,3,4}; B)arr[]={1,2,3,4} C)arr 1=arr 2.

Explanation:

Similar questions