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

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

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

面接準備

模擬試験

ホームページに設定

このページをブックマーク

メールアドレスを登録

C++ 面接の質問と回答

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

関連する比較

C vs C++Java vs C++

質問 36. What are 2 ways of exporting a function from a DLL?

1.Taking a reference to the function from the DLL instance.
2. Using the DLL ?s Type Library

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

質問 37. What is the difference between an object and a class?


Classes and objects are separate but related concepts. Every object belongs to a class and every class contains one or more related objects.
- A Class is static. All of the attributes of a class are fixed before, during, and after the execution of a program. The attributes of a class don't change.
- The class to which an object belongs is also (usually) static. If a particular object belongs to a certain class at the time that it is created then it almost certainly will still belong to that class right up until the time that it is destroyed.
- An Object on the other hand has a limited lifespan. Objects are created and eventually destroyed. Also during that lifetime, the attributes of the object may undergo significant change.

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

質問 38. Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].


quicksort ((data + 222), 100);

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

質問 39. What is a class?


Class is a user-defined data type in C++. It can be created to solve a particular kind of problem. After creation the user need not know the specifics of the working of a class.

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

質問 40. What is friend function?


As the name suggests, the function acts as a friend to a class. As a friend of a class, it can access its private and protected members. A friend function is not a member of the class. But it must be listed in the class definition.

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

2) What is the difference between an object and a class? 3) Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321]. 4) What is a class? 5) What is friend function? " />

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

著作権 © 2026、WithoutBook。