C++ General Interview Questions
Questions Answers Views Company eMail

Difference between Top down and bottom up approaches for a given project ?

BSNL, CSC, HCL, HP, IIT, Infosys, Siemens,

14 107280

What and all can a compiler provides by default?

Accenture, HP,

3 14953

What are the different operators in C++?

HP,

3 13649

What is the difference between method and message?

HP,

5 57201

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 61991

when can we use copy constructor?

HP,

6 16298

Describe functional overloading?

HP,

6 11709

Difference between Overloading and Overriding?

Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,

35 198736

Difference between Operator overloading and Functional overloading?

HP,

10 52326

What is virtual constructor paradigm?

HCL, HP,

5 14520

when can we use virtual destructor?

HCL, HP, Virage Logic,

7 25540

What is the difference between Class and Structure?

HP, IBM, Samsung, TCS,

40 221968

What is size of null class?

HP,

6 16527

Is structure can be inherited?

HP, ST Micro,

5 16471

How the V-Table mechanism works?

HP,

6 22035


Post New C++ General Questions

Un-Answered Questions { C++ General }

why is c++ called oops? Explain

777


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

785


What is the extraction operator and what does it do?

794


What is endl c++?

819


If a header file is included twice by mistake in the program, will it give any error?

765






What is a c++ vector?

769


Explain function overloading and operator overloading.

797


Is string an object in c++?

831


How a new element can be added or pushed in a stack?

764


What are proxy objects in c++?

844


What are the unique features of C++.

755


What is late binding c++?

709


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

810


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2500


What is object in c++ example?

818