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 105138

What and all can a compiler provides by default?

Accenture, HP,

3 14195

What are the different operators in C++?

HP,

3 13109

What is the difference between method and message?

HP,

5 55775

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 59623

when can we use copy constructor?

HP,

6 15369

Describe functional overloading?

HP,

6 10893

Difference between Overloading and Overriding?

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

35 194736

Difference between Operator overloading and Functional overloading?

HP,

10 50958

What is virtual constructor paradigm?

HCL, HP,

5 13605

when can we use virtual destructor?

HCL, HP, Virage Logic,

7 24392

What is the difference between Class and Structure?

HP, IBM, Samsung, TCS,

40 217270

What is size of null class?

HP,

6 15664

Is structure can be inherited?

HP, ST Micro,

5 15763

How the V-Table mechanism works?

HP,

6 21275


Post New C++ General Questions

Un-Answered Questions { C++ General }

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

572


What is the difference between an array and a list?

579


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

605


Can comments be nested?

619


What is a dll entry point?

555






Difference between class and structure.

703


What things would you remember while making an interface?

556


What is a stack c++?

563


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

1710


How long does it take to get good at leetcode?

651


Why is it called c++?

576


Can I learn c++ as my first language?

599


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

601


Why we use #include iostream in c++?

568


What does ctime() do?

609