Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

OOPS Interview Questions
Questions Answers Views Company eMail

what is inline function?

3 7026

for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)

2 4985

what is polymorpsim? what are its types?

8 11591

what is function overloading..?

4 6097

what is a binary overloading

2 6287

what is the difference between function template and template of function?explain with example.

2 19549

what is oppes

2 5083

I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe

1 7196

what is the difference between class to class type conversion and copy constructor ?

2 6165

Write 7 differences between "Public" function and "Private" function?

IBM, Wipro,

2 16871

what do you mean by static member variable?

2 6250

What is a unary operator?

5 8718

Conversion from a basic type to a class type may be achieved using______________

HCL,

5 21865

A file pointer always contains the __________ of the file

5 12164

difine hierarchical inheritance.

ASD Lab, TCS,

9 28204


Post New OOPS Questions

Un-Answered Questions { OOPS }

Why is object oriented programming so hard?

1085


What does it mean when someone says I oop?

1063


How does polymorphism work?

1141


What is the full form of oops?

1194


Can private class be inherited?

1168


#include #include #include #include void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals.

3762


What is pointer in oop?

1056


What is encapsulation selenium?

1010


What is destructor oops?

1095


What is basic concept of oop?

1168


What is a superclass in oop?

1175


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

6679


How Do you Code Composition and Aggregation in C++ ?

25471


How to improve object oriented design skills?

1017


What are functions in oop?

1056