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 7037

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 4988

what is polymorpsim? what are its types?

8 11602

what is function overloading..?

4 6111

what is a binary overloading

2 6292

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

2 19562

what is oppes

2 5088

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 7203

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

2 6171

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

IBM, Wipro,

2 16877

what do you mean by static member variable?

2 6257

What is a unary operator?

5 8723

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

HCL,

5 21876

A file pointer always contains the __________ of the file

5 12170

difine hierarchical inheritance.

ASD Lab, TCS,

9 28216


Post New OOPS Questions

Un-Answered Questions { OOPS }

What is overriding in oops?

1110


What does it mean when someone says I oop?

1063


Can bst contain duplicates?

1199


What is polymorphism programming?

1133


Why is oop useful?

1111


What is encapsulation with example?

1116


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1199


What is inheritance write a program to show use of inheritance?

1149


What is destructor in oop?

1035


Can enum be null?

1025


What is static in oop?

1082


What is polymorphism and example?

1055


#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.

3767


What are the 4 pillars of oop?

1151


What are the advantages of polymorphism?

1034