C++ Interview Questions
Questions Answers Views Company eMail

What is the purpose of ios::basefield in the following statement?

1008

Is it possible for a member function to delete the pointer, named this?

826

Write about the use of the virtual destructor?

786

How a new operator differs from the operator new?

874

Can we define a constructor as virtual in c++?

811

Write about a nested class and mention its use?

824

What would happen on forgetting [], while deallocating an array through new?

836

How can an improvement in the quality of software be done by try/catch/throw?

805

What is the sequence of destruction of local objects?

722

What is the main purpose of overloading operators?

803

What is a c++ class?

851

How do c++ struct differs from the c++ class?

831

Discuss the possibilities related to the termination of a program before entering the mainq method?

733

How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

801

Why are arrays usually processed with for loop?

979


Un-Answered Questions { C++ }

What do you mean by abstraction?

804


How to stop class inheritance in C++ with condition that object creation should be allowed

467


What are special characters c++?

736


What are main features of oop?

860


Which bit wise operator is suitable for putting on a particular bit in a number?

936


What is the standard template library (stl)?

1029


Is it possible to write a c++ template to check for a function's existence?

787


what is a class? Explain with an example.

872


What is a pdb file?

740


Describe friend function & its advantages.

920


What is insertion sorting?

854


What is a null tree?

846


To what does “event-driven” refer?

821


Can you explain polymorphism?

810


What are the different types of stl containers?

862