Q567
What will be the output of the following C++ code? #include #include #include using namespace std; template class A public: A() cout a; return 0;
A.
Created
Destroyed
AnswerDestroyed
B.
Destroyed
Created
Created
C.
Compile-time error
D.
Run-time error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board