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

You are here : Home » C++ » Interview Questions on STL in C++

Interview Questions on STL in C++ : (9)


Question: 1

(A) Yes
(B) No

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



Question: 2

(A) AVL Tree
(B) Binary Tree
(C) Balance Binary Tree
(D) None of these

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



Question: 3

(A) Vector
(B) Deque
(C) Stack
(D) List

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



Question: 4

(A) std::vector<integer> vecOfInts;
(B) std::vector int <vecOfInts>
(C) std::vector(int) vecOfInts;
(D) std::vector<int> vecOfInts;

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



Question: 5

(A) Initialize a Vector with 5 int & all default value is 0
(B) Initialize a Vector with 5 int
(C) Initialize a Vector with 5 int & all default values will be garbage
(D) Initialize a Vector with 5 int & All default value with be -1

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



Question: 6

(A) Yes
(B) No

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



Question: 7

(A) Yes
(B) No

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



Question: 8

(A) 1 2 3 4
(B) 1234
(C) 12340
(D) 01234

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



Question: 9

(A) Initialize vect to 5 string with value "Hi"
(B) Initialize vect's first element to a string with value "Hi" & prints them
(C) Initialize vect to 1 string with value "Hi" & prints only one
(D) Initialize vect to 5 string with value "Hi" & prints them

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