Quiz: General STL Features

Test your understanding of general STL features.

1

What is the output of the following code?

template<typename T>
const char * f(const T a) {
    return typeid(T).name();
}
int main() {
    cout << format("T is {}\n", f("47"));
}
A)

T is int

B)

T is long

C)

T is char const *

D)

T is string

Question 1 of 70 attempted

Get hands-on with 1400+ tech skills courses.