1.

What is the output of this program?
#include 
using namespace std;
int main()
{
int k;
char *array[] = {"Red", "Blue", "Green", "Yellow"};
char *(*p)[4] = &array;
cout << ++(*p)[2];
return 0;
}

A. Red
B. Blue
C. Green
D. Yellow
E. reen
Answer» F.


Discussion

No Comment Found

Related MCQs