Question:

What is the output of this program?

   #include <iostream>
   using namespace std;
   int main()
   {
       int i;
       char *arr[] = {"C", "C++", "Java", "VBA"};
       char *(*ptr)[4] = &arr;
       cout << ++(*ptr)[2];
       return 0;
   }

 

Answers:


Keywords:

© 2017 QuizBucket.org