C++11 Questions and Answers

C++11 Questions and Answers

C++11 Questions and Answers contains set of 10 C++11 MCQ Questions With Answers which will help you to clear beginner level quiz.

1.  One of the major new features in C++11 is

  1. Loops
  2. Control statements
  3. Algorithms
  4. Lambdas


2.   boost::shared_ptr is a feature used for

  1. Code analysis
  2. Intellisense
  3. Memory Management
  4. Codelens

3.  In C++11,  the compiler is able to determine the type of a variable from its

  1. Declaration
  2. Initialization
  3. Prototyping
  4. None

4.  You want to iterate over the elements of the map. To do it, you need a

  1. Loop
  2. Switch statement
  3. Container
  4. Iterator

5.  Does C++11 support multithread programming?

  1. Yes
  2. No.


6.  What is the difference between modern C++ and C++11?

  1. Both are same
  2. C++11 is latest
  3. Modern C++ is latest.
  4. None

7.   C++11 was developed by

  1. Microsoft
  2. Google
  3. Facebook
  4. Bjarne Stroustrup

8.  nullptr is a new feature in c++11

  1. yes
  2. no

9.  A lambda expression lets you define functions

  1. Locally
  2. Globally
  3. Static
  4. Extern

10.  auto x = 0; , where x has the type

  1. double
  2. long
  3. int
  4. long int


Have any Question or Comment?

Leave a Reply

Exciting Offers

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 90 other subscribers

Exciting Offers

Exciting Offers

Exciting Offers

%d bloggers like this: