C++ Interview Questions
Questions Answers Views Company eMail

WHEN A COPY CONSTER IS CALL ?

4 5725

WHY FUCTION OVERLOADING DOSENOT RETURN A RETEN TYPE

2 9208

what is abstract class ? when is used in real time ? give a exp

5 18233

Please post the model question paper of hal?

2 3926

write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.

4 19193

write a c++ program to find maximum of two numbers using inline functions.

IBM,

3 38523

to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123

2 4659

What is the difference between const int *ptr and int const *ptr???

2 20706

How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.

Satyam,

15 17613

what is the difference between class and object?

9 13838

What is the Advantage of Interface over the Inheritance in OOPS?

4 16813

design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

UBS,

6136


what is the difference b/w abstract and interface?

Merrill Lynch, Schneider, Scio Healthcare,

2 7813

Explain polymorphism? What r the types of polymorphism? pls give examples?

HCL,

4 14882


Un-Answered Questions { C++ }

What exactly is polymorphism?

598


Is map sorted c++?

507


What is methods in oop?

537


Is c++ a programming language?

590


Can private class be inherited?

614






Which programming language is best?

545


what is template and type convertion

1990


What is auto type c++?

622


What are manipulators used for?

601


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1888


What does malloc return in C and C++?

553


What is a rooted hierarchy?

672


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1501


Explain what is class definition in c++ ?

594


What is difference between class and function?

580