C++ Interview Questions
Questions Answers Views Company eMail

Comment on assignment operator in c++.

694

What do you mean by volatile and mutable keywords used in c++?

565

What do you mean by inheritance in c++? Explain its types.

598

What is a loop? What are different types of loops in c++?

583

List the features of oops in c++?

559

Can we make copy constructor private in c++?

583

why is c++ called oops? Explain

573

Explain the difference between c & c++?

567

What are the advantages of c++? Explain

582

Why namespace is used in c++?

593

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

614

Explain the difference between new() and malloc() in c++?

618

Please explain the reference variable in c++?

609

What is namespace & why it is used in c++?

599

What do you mean by inheritance in c++?

586


Un-Answered Questions { C++ }

How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

572


Explain what happens when an exception is thrown in C++.

528


What are the costs and benefits of using exceptions?

532


What is the disadvantage of using a macro?

578


Which programming language is best to learn first?

567






If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

577


What is time h in c++?

577


What is the difference between the compiler and the preprocessor?

599


What is the copy-and-swap idiom?

593


What is the purpose of the "delete" operator?

616


What is a Default constructor?

900


Describe public access specifiers?

569


Are strings immutable in c++?

639


What is an accessor in c++?

605


Explain the static storage classes in c++.

689