C++ Interview Questions
Questions Answers Views Company eMail

What are the benefits of operator overloading?

671

Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

641

Does a derived class inherit or doesn't inherit?

612

What is a storage class? Mention the storage classes in c++.

584

Difference between class and structure.

702

Mention the storage classes in c++.

634

What is a constructor and how is it called?

587

What is the difference between equal to (==) and assignment operator (=)?

569

What's the order in which the local objects are destructed?

828

What is the role of static keyword for a class member variable?

617

What's the order in which the objects in an array are destructed?

838

What is the difference between an external iterator and an internal iterator?

601

Comment on c++ standard exceptions?

628

What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

599

What is exception handling? Does c++ support exception handling?

581


Un-Answered Questions { C++ }

what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

1761


Define friend function.

559


What are advantages of using friend classes?

623


What are pointer-to-members in C++? Give their syntax.

610


Explain the concepts involved in Object Oriented programming.

618






How to call a non virtual function in the derived class by using base class pointer

5239


Is abstract thinking intelligence?

583


What is the best c++ ide?

591


What are stacks? Give an example where they are useful.

584


What is a modifier in c++?

623


why is iostream::eof inside a loop condition considered wrong?

585


What is operator overloading in c++ example?

643


Is c++ pass by reference or value?

562


Which software is best for coding?

562


What are the 3 levels of programming languages?

525