Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C++ » Interview Questions on C++ 11

Interview Questions on C++ 11 Features : (10)


Question: 1

(A) [capture](parameters)->return-type {body}
(B) [parameters](capture)->return-type {body}
(C) [capture][parameters]->return-type {body}
(D) (capture)(parameters)->return-type {body}

Compiler
Level: Expert Category of MCQ: cpp11
[Posted by: | ]



Question: 2

(A) Yes
(B) No

Compiler
Level: Expert Category of MCQ: cpp11
[Posted by: | ]



Question: 3

(A) Checking the Grammar
(B) Finding the type of names and expressions
(C) Making up tokens from characters
(D) None of these

Compiler
Level: Beginner Category of MCQ: cpp11
[Posted by: | ]



Question: 4

(A) long
(B) long int
(C) longs long
(D) long long

Compiler
Level: Beginner Category of MCQ: cpp11
[Posted by: | ]



Question: 5

(A) final
(B) static
(C) stop
(D) friend

Compiler
Level: Beginner Category of MCQ: cpp11
[Posted by: | ]



Question: 6

(A) pragma
(B) override
(C) wchar_t
(D) mutable

Compiler
Level: Practitioner Category of MCQ: cpp11
[Posted by: | ]



Question: 7

(A) g++ -std=c++-11 -o output.out source.cpp
(B) g++ -std=c++11 -o output.out source.cpp
(C) g++ -std=c++ 11 -o output.out source.cpp
(D) g++ -std=cpp11 -o output.out source.cpp

Compiler
Level: Expert Category of MCQ: cpp11
[Posted by: | ]



Question: 8

(A) Yes
(B) No
(C) Depends on Compiler

Compiler
Level: Expert Category of MCQ: cpp11
[Posted by: | ]



Question: 9

(A) Yes
(B) No

Compiler
Level: Expert Category of MCQ: cpp11
[Posted by: | ]



Question: 10

(A) std::thread threadObj(thread_function);
(B) std::thread threadObj(&thread_function);
(C) std::thread threadObj((void *)thread_function);
(D) std::thread threadObj(thread_function());

Compiler
Level: Expert Category of MCQ: cpp11
[Posted by: | ]