C++ Interview Questions
Questions Answers Views Company eMail

How to change constant values?

Huawei, Symphony,

6 13155

How to avoid changing constant values?

Symphony,

2 5750

How to implement flags?

Symphony,

2 5367

Difference between shift left and shift right?

Symphony,

1 5766

Do we have private destructors?

Symphony, TCS,

12 19368

How to avoid a class from instantiation?

Symphony,

8 15104

What are the basics of classifying different storage types, why?

Astergate, Symphony,

2 5494

Difference between static global and global?

Microsoft, Symphony, Wipro,

16 39265

Profiler in projects?

Symphony,

2 4010

What are raw sockets, where they are efficient?

Symphony,

2 4388

How to construct muliton object

Symphony, TCS,

2 4981

How to construct virtual constructor

CIStems Software, Symphony,

6 13003

When the design recommends static functions?

Symphony,

2 5546

Shall we use 'free' to free memory assigned by new, What are the further consequences??

Symphony,

5 9221

How the STL's are implemented, What the difference between templates and STL?

Symphony,

1 6159


Un-Answered Questions { C++ }

If all is successful, what should main return a) 0 b) 1 c) void

561


What is the difference between encapsulation and polymorphism?

598


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

557


What is the array and initializing arrays in c++?

510


What are mutator methods in c++?

651






What is a multimap c++?

684


What is the type of 'this' pointer? When does it get created?

552


Differentiate between a pointer and a reference with respect to c++.

699


What does it mean to declare a member function as static?

614


Is c++ a software?

731


Will this c++ program execute or not?

607


What is cout flush?

572


Can a new be used in place of old mallocq? If yes, why?

639


what are the events occur in intr activated on interrupt vector table

1183


How does a copy constructor differs from an overloaded assignment operator?

560