1.

What is the output of this program?
#include 
using namespace std;
int main()
{
int p = 15, q = 11, r = 12;
int array[3] = {&p, &q, &r};
cout << *array[*array[1] - 8];
return 0;
}

A. 11
B. 12
C. 15
D. Compilation Error
E. Garbage value
Answer» E. Garbage value


Discussion

No Comment Found

Related MCQs