CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux Forum

You are here : 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 DiscussOnForum
Expert cpp11[Posted by: Admin | Chicago, USA]



Question: 2

(A) Yes
(B) No

Compiler DiscussOnForum
Expert cpp11[Posted by: Admin | Chicago, USA]



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 DiscussOnForum
Beginner cpp11[Posted by: | Chicago, USA]



Question: 4

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

Compiler DiscussOnForum
Beginner cpp11[Posted by: | Chicago, USA]



Question: 5

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

Compiler DiscussOnForum
Beginner cpp11[Posted by: | Chicago, USA]



Question: 6

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

Compiler DiscussOnForum
Practitioner cpp11[Posted by: Admin | Chicago, USA]



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 DiscussOnForum
Expert cpp11[Posted by: Admin | Chicago, USA]



Question: 8

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

Compiler DiscussOnForum
Expert cpp11[Posted by: Admin | Chicago, USA]



Question: 9

(A) Yes
(B) No

Compiler DiscussOnForum
Expert cpp11[Posted by: Admin | Chicago, USA]



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 DiscussOnForum
Expert cpp11[Posted by: Admin | Chicago, USA]