가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

모의 시험

홈페이지로 설정

이 페이지 북마크

이메일 주소 구독

C++ 면접 질문과 답변

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

관련 차이점

C vs C++Java vs C++

Ques 71. What is the difference between a copy constructor and an overloaded assignment operator?


A copy constructor constructs a new object by using the content of the argument object. An overloaded assignment operator assigns the contents of an existing object to another existing object of the same class.

도움이 되었나요? Add Comment View Comments
 

Ques 72. When should you use multiple inheritance?


There are three acceptable answers: "Never," "Rarely," and "When the problem domain cannot be accurately modeled any other way."

도움이 되었나요? Add Comment View Comments
 

Ques 73. Explain the ISA and HASA class relationships. How would you implement each in a class design?


A specialized class "is" a specialization of another class and, therefore, has the ISA relationship with the other class. An Employee ISA Person. This relationship is best implemented with inheritance. Employee is derived from Person. A class may have an instance of another class. For example, an employee "has" a salary, therefore the Employee class has the HASA relationship with the Salary class. This relationship is best implemented by embedding an object of the Salary class in the Employee class.

도움이 되었나요? Add Comment View Comments
 

Ques 74. When is a template a better solution than a base class?


When you are designing a generic class to contain or otherwise manage objects of other types, when the format and behavior of those other types are unimportant to their containment or management, and particularly when those other types are unknown (thus, the generosity) to the designer of the container or manager class.

도움이 되었나요? Add Comment View Comments
 

Ques 75. What is a mutable member?


One that can be modified by the class even when the object of the class or the member function doing the modification is const.

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.