C++ Interview Questions
Questions Answers Views Company eMail

What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same

CTS,

3 7036

What are smart pointer? Whats its use?

CTS,

1 4848

What are function poinetrs? where are they used?

CTS,

1 3608

How many pointers are required to reverse a link list?

CTS,

5 9322

How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?

CTS,

2 8270

Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";

CTS,

7 22425

What are Binay tress and B trees? Diff between them?

CTS, GATE, Wipro,

8 12390

why we call c++ is object oriented lanaguage

HCL,

7 11854

WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??

Biocon, MIT, NIIT,

21 31590

Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

1720

Explain when u will use Observer pattern and how u will implement in c++ .

1 3823

What is the difference between static link library and dynamic link library?

Tech Mahindra,

7 18567

In multilevel inheritance constructors will be executed from the .... class to ... class

ABCO, TCS,

2 14500

reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it

2 3771

what is template and type convertion

TATA,

1982


Un-Answered Questions { C++ }

Is atoi safe?

580


How do you flush std cout?

554


What's c++ used for?

583


Define what is constructor?

570


Is c++ vector a linked list?

536






Is c++ still being used?

549


Is java easier than c++?

576


what is scupper?

1880


A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

3225


To what does “event-driven” refer?

595


What does n mean in c++?

616


What is nested class in c++?

506


Write a program to find the Factorial of a number

561


Why is c++ so fast?

521


How would you use the functions memcpy(), memset(), memmove()?

612