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
- Loops
- Control statements
- Algorithms
- Lambdas
2. boost::shared_ptr is a feature used for
- Code analysis
- Intellisense
- Memory Management
- Codelens
3. In C++11, the compiler is able to determine the type of a variable from its
- Declaration
- Initialization
- Prototyping
- None
4. You want to iterate over the elements of the map. To do it, you need a
- Loop
- Switch statement
- Container
- Iterator
5. Does C++11 support multithread programming?
- Yes
- No.
6. What is the difference between modern C++ and C++11?
- Both are same
- C++11 is latest
- Modern C++ is latest.
- None
7. C++11 was developed by
- Microsoft
- Bjarne Stroustrup
8. nullptr is a new feature in c++11
- yes
- no
9. A lambda expression lets you define functions
- Locally
- Globally
- Static
- Extern
10. auto x = 0; , where x has the type
- double
- long
- int
- long int