Which C++ standard introduced major modern language features such as lambda expressions and auto type deduction?

Options

  • A. C++98
  • B. C++03
  • C. C++11
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. C++11

Detailed Explanation

Answer: (C) C++11

C++11 was a major update to the C++ language.

It introduced many important modern features, including lambda expressions, auto type deduction, range-based features, rvalue references, smart pointers and other improvements.

Because of the large number of changes, C++11 is often considered an important milestone in the evolution of modern C++.