Самые популярные вопросы и ответы для интервью и онлайн-тесты
Образовательная платформа для подготовки к интервью, онлайн-тестов, учебных материалов и живой практики

Развивайте навыки с целевыми маршрутами обучения, пробными тестами и контентом для подготовки к интервью.

WithoutBook объединяет вопросы для интервью по предметам, онлайн-практику, учебные материалы и сравнительные руководства в одном удобном учебном пространстве.

Подготовка к интервью

C++ вопросы и ответы для интервью

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

Связанные сравнения

C vs C++Java vs C++

Вопрос 41. Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?


Mergesort always makes recursive calls to sort subarrays that are about half size of the original array, resulting in O(n log n) time.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 42. What is abstraction?


Abstraction is of the process of hiding unwanted details from the user.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 43. What are virtual functions?


A virtual function allows derived classes to replace the implementation provided by the base class. The compiler makes sure the replacement is always called whenever the object in question is actually of the derived class, even if the object is accessed by a base pointer rather than a derived pointer. This allows algorithms in the base class to be replaced in the derived class, even if users don't know about the derived class.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 44. What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator.


An internal iterator is implemented with member functions of the class that has items to step through. .An external iterator is implemented as a separate class that can be "attach" to the object that has items to step through. .An external iterator has the advantage that many difference iterators can be active simultaneously on the same object.
 

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 45. What is a scope resolution operator?


A scope resolution operator (::), can be used to define the member functions of a class outside the class.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Самое полезное по оценкам пользователей:

Авторские права © 2026, WithoutBook.