Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

C++ Interview Questions and Answers

Test your skills through the online practice test: C++ Quiz Online Practice Test

Related differences

C vs C++Java vs C++

Ques 76. What is an explicit constructor?


A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It?s purpose is reserved explicitly for construction.

Is it helpful? Add Comment View Comments
 

Ques 77. What is the Standard Template Library (STL)?

A library of container templates approved by the ANSI committee for inclusion in the standard C++ specification.
A programmer who then launches into a discussion of the generic programming model, iterators, allocators, algorithms, and such, has a higher than average understanding of the new technology that STL brings to C++ programming.

Is it helpful? Add Comment View Comments
 

Ques 78. Describe run-time type identification.


The ability to determine at run time the type of an object by using the typeid operator or the dynamic_cast operator.

Is it helpful? Add Comment View Comments
 

Ques 79. What problem does the namespace feature solve?


Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library?s external declarations with a unique namespace that eliminates the potential for those collisions.
This solution assumes that two library vendors don?t use the same namespace identifier, of course.

Is it helpful? Add Comment View Comments
 

Ques 80. Are there any new intrinsic (built-in) data types?


Yes. The ANSI committee added the bool intrinsic type and its true and false value keywords.

Is it helpful? Add Comment View Comments
 

3) Describe run-time type identification. 4) What problem does the namespace feature solve? 5) Are there any new intrinsic (built-in) data types? " />

Most helpful rated by users:

©2024 WithoutBook