C++ Interview Questions
Questions Answers Views Company eMail

If I is an integer variable, which is faster ++i or i++?

597

Explain the concept of friend function in c++?

608

Can non-public members of another instance of the class be retrieved by the method of the same class?

610

How the virtual functions maintain the call up?

610

Differentiate between an inspector and a mutator ?

709

Write about the members that a derived class can add?

570

Describe public access specifiers?

587

What kind of problems can be solved by a namespace?

594

What are put and get pointers?

584

Write about the local class and mention its use?

615

What is a c++ object?

618

Define the process of handling in case of destructor failure?

580

Write about the scope resolution operator?

618

Can the creation of operator** is allowed to perform the to-the-power-of operations?

582

Write about the role of c++ in the tradeoff of safety vs. Usability?

606


Un-Answered Questions { C++ }

Tell me difference between constant pointer and pointer to a constant.

634


What is the renewal class?

2171


What is the use of data hiding?

601


Can you declare an array without a size in c++?

576


What is pure virtual function? Or what is abstract class?

594






What is a unnitialised pointer?

533


Carry out conversion of one object of user-defined type to another?

616


What is encapsulation in oops?

541


Explain the auto storage classes in c++.

605


What is the difference between #define debug 0 and #undef debug?

645


Where can I run c++ program?

605


Does c++ have string data type?

695


What is c++ coding?

660


Write a program to reverse a string using recursive function?

1797


the maximum length of a character constant can be a) 2 b) 1 c) 8

602