OOPS Interview Questions
Questions Answers Views Company eMail

write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation

College School Exams Tests, HCL, IBM, TCS,

1 5670

write knight tour problem which is present in datastructure

2378

write string class as your own class in java without using any built-in function

2206

how does a main() in C++ is different from main() in C?

7 26199

How do you make derived class as an abstract class?

Convergys, TCS,

1 4813

Write a program to find out the number of palindromes in a sentence.

TCS,

1 4163

what is static?

4 5171

The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

TCS,

6 10175

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 4365

write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

Wipro,

1981

what is overloading

MindCracker,

3 4654

what is the diffrence between c# and c++

5 7417

How compiler selects(internally) required overridden function in inheritance?

CSC, Infinite Computer Solutions,

2 5896

They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1614

There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 3901


Post New OOPS Questions

Un-Answered Questions { OOPS }

What is oops concept with example?

763


What is polymorphism programming?

843


What is constructor in oop?

814


Why do we use polymorphism?

763


What are the three main types of variables?

827


Plese get me a perfect C++ program for railway/airway reservation with all details.

3656


Why do we use inheritance?

815


What is polymorphism give a real life example?

760


What is meant by oops concept?

778


What is difference between oop and pop?

866


Why is object oriented programming so hard?

823


write a programe to calculate the simple intrest and compund intrest using by function overlading

1891


program for insertion ,deletion,sorting in double link list

2443


State what is encapsulation and friend function?

936


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

6359