My C++ Quiz

The ultimate place to learn C++!

Question #6: The code below is legal?

int x = 5;

template <typename T>
class x
{
    T member;
};

int main(int argc, char** argv)
{
    class x<int> y;

    return 0;
}