What will be printed out as a result of the following code execution?
#include <iostream>

template <class T> struct A { 
    typedef typename T::C TC;

struct B: A<B>
    struct C { 
        void out(){ std::cout<<"C";} 

int main()
  B b;
  return 0;

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
C++ quizzes
Sign Up Now
or Subscribe for future quizzes