C++ Interview Questions
Questions Answers Views Company eMail

How to give an alternate name to a namespace?

587

Which should be more useful: the protected and public virtuals?

596

List the issue that the auto_ptr object handles?

609

What is meant by forward referencing and when should it be used?

550

Explain the concept of copy constructor?

615

How a pointer differs from a reference?

692

Describe the setting up of my member functions to avoid overriding by the derived class?

605

Why should we use null or zero in a program?

598

Write a note about the virtual member function?

599

Why do we use the using declaration?

658

What are the advantages of using const reference arguments in a function?

613

Differentiate between the manipulator and setf( ) function?

590

How can virtual functions in c++ be implemented?

606

Can we use this pointer in a class specific, operator-overloading function for new operator?

611

Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

584


Un-Answered Questions { C++ }

How do I make turbo c++ full screen?

581


What are the advantages of polymorphism?

573


What do you mean by vtable and vptr in c++?

619


What is the significance of classes in oop?

587


Where must the declaration of a friend function appear?

530






Can we create object of interface?

601


Define a nested class.

611


How many human genes are polymorphic?

570


How a modifier is similar to mutator?

630


What is abstraction in oops with example?

770


What is the difference between ++ count and count ++?

575


what are the iterator and generic algorithms.

1685


Explain rtti.

592


What are the advantages/disadvantages of using inline and const?

556


By using c++ with an example describe linked list?

600