人気の面接質問と回答・オンラインテスト
面接対策、オンラインテスト、チュートリアル、ライブ練習のための学習プラットフォーム

集中型学習パス、模擬テスト、面接向けコンテンツでスキルを伸ばしましょう。

WithoutBook は、分野別の面接質問、オンライン練習テスト、チュートリアル、比較ガイドをひとつのレスポンシブな学習空間にまとめています。

面接準備

C++ 面接の質問と回答

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

関連する比較

C vs C++Java vs C++

質問 116. What is polymorphism?


Polymorphism is the idea that a base class can be inherited by several classes. A base class pointer can point to its child class and a base class array can store different child class objects.

役に立ちましたか? コメントを追加 コメントを見る
 

質問 117. How can you tell what shell you are running on UNIX system?

You can do the Echo $RANDOM. It will return a undefined variable if you are from the C-Shell, just a return prompt if you are from the Bourne shell, and a 5 digit random numbers if you are from the Korn shell. You could also do a ps -l and look for the shell with the highest PID.

役に立ちましたか? コメントを追加 コメントを見る
 

質問 118. What is pure virtual function?


A class is made abstract by declaring one or more of its virtual functions to be pure. A pure virtual function is one with an initializer of = 0 in its declaration
 

役に立ちましたか? コメントを追加 コメントを見る
 

質問 119. Write a Struct Time where integer m, h, s are its members


struct Time
{
int m;
int h;
int s;
};

役に立ちましたか? コメントを追加 コメントを見る
 

質問 120. How do you traverse a Btree in Backward in-order?


Process the node in the right subtree
Process the root
Process the node in the left subtree

役に立ちましたか? コメントを追加 コメントを見る
 

3) What is pure virtual function? 4) Write a Struct Time where integer m, h, s are its members 5) How do you traverse a Btree in Backward in-order? " />

ユーザー評価で最も役立つ内容:

著作権 © 2026、WithoutBook。