C++ Interview Questions
Questions Answers Views Company eMail

write a program in c++ to implement stack using functions in header file stack.h

Google, Subex,

3 21584

implement stack using stack.h headerfile functions

Exilant, GMG, Subex, University,

1 9012

what is static function

Patni,

2 6226

why the size of an empty class is 1

4 11041

is throwing exception from a constructor not a good practice ?

Ericsson,

5 9627

swapping program does not use third variable

TCS,

5 6783

how to find no of instances of an object in .NET?

Infosys,

1 4674

How Do you Code Composition and Aggregation in C++ ?

IBM, NET,

3 24214

Please tell me the oops concept with detailed answer

EEE,

9 14938

how to swap to variables without using thrid variable in java?

5 6538

what is the usage of clas templates

5 5829

why can't we declare data member of class auto register or extern

1 4859

difference between c and c++?

Cognizant, IBM, Infosys, Oracle, Sarva Shiksha Abhiyan, Wipro,

38 117833

Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?

5 18128

i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.

Syntel,

1 4059


Un-Answered Questions { C++ }

Why do we need polymorphism in c#?

695


What is nested class in c++?

522


Does c++ have finally?

571


What is size_type?

551


What is name hiding in c++?

619






What is a static element?

579


What is new in c++?

582


How much is c++ certification?

591


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1705


what is Loop function? What are different types of Loops?

645


What is while loops?

622


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3210


When should we use multiple inheritance?

619


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

547


What are arrays c++?

614