C++11 Quiz

12 questions available • Test your knowledge of modern C++ features

settings.hpp
Question 1/12|0/0 correct
true_false.cpp
#auto keywordbeginner

// Is this statement true or false?

The 'auto' keyword in C++11 allows the compiler to automatically deduce the type of a variable from its initializer.

auto x = 5;      // int
auto y = 3.14;   // double
auto z = "hello"; // const char*