1.

#include <iostream>using namespace std;template <class P, class Q, class R>class A  {    P x;    Q y;    R z;    static int count;};int main(){   A<int, int, int> m;   A<char, char, char> n;   cout << sizeof(m) << endl;   cout << sizeof(n) << endl;   return 0;}  
16.What will be the output of this program?

A. Compile Error
B. 10
C. 20
D. 15
Answer» B. 10


Discussion

No Comment Found

Related MCQs