C++ Interview Questions
Questions Answers Views Company eMail

In C++ cout is: a) object b) class c) something else

Infosys, Lehman Brothers,

11 25777

What is the output of: String a1 = "Hello"; String a2 = "world!"; String* s1 = &a2; String& s2 = a1; s1 = &a1; s2 = a2; std::cout << *s1 << " " << s2 << std::endl;

Lehman Brothers,

4 7818

Why would you make a destructor virtual?

Lehman Brothers,

3 7886

what is the difference between and "stdio.h"?

5 8785


Is there any difference between dlearations int* x and int *x? If so tell me the difference?

Lason,

16 25140

Explain the concept of abstracion and encapsulation with one example. What is the difference between them?

PCS,

3 11143

What are the different forms of polymorphism??

Mantaq, NUC, PCS,

8 13666

all about pointers

2 5173

what is diff between .net 1.1 and .net 2.0

4 9151

What C++ libraries are you proficient with?

Google,

1 8324

Which algorithm do you like the most? Why?

Google,

2 7484

Have you used MSVC? What do you think of it?

Google,

2 7650

What is design pattern?

Samsung,

2 7809

What are advantages and disadvantages of Design patterns?

IBM, Vodafone,

7 106998


Un-Answered Questions { C++ }

What is extern c++?

513


Is c++ harder than java?

557


What is a constructor initializer list?

609


What is tellg () in c++?

712


Why cout is used in c++?

556






Can recursive program be written in C++?

623


What are mutator methods in c++?

636


What is a friend function in c++?

570


What is void pointer in c++ with example?

588


what is different between oops and c++

1992


Get me an image implementation program.

1550


Does c++ support multilevel and multiple inheritances?

537


What is the difference between the compiler and the preprocessor?

606


What is a null object in c++?

625


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

1845