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



C++ Interview Questions
Questions Answers Views Company eMail

What are the 4 main oop principles?

1225

Whats oop mean?

1050

Why do we need oop?

1204

What is oops with example?

1049

What is basic concept of oop?

1170

What are stl algorithms?

1172

Is stl part of c++ standard?

1094

When did c++ add stl?

1234

How is stl different from c++ standard library?

1334

Why should a c++ programmer be interested in stl?

1097

Is string part of stl?

1213

What is stl stand for?

1236

What is stl in oop?

1218

How stl is different from the c++ standard library?

1229

Is stl open source?

1139


Un-Answered Questions { C++ }

What is the difference between multiple and multilevel inheritance in c++?

1132


Can we create object of interface?

1135


What problems might the following macro bring to the application?

1057


What is iterator in c++?

1118


What is stack unwinding?

1146


What is a constant? Explain with an example.

1019


What is command line arguments in C++? What are its uses? Where we have to use this?

1278


State the difference between delete and delete[].

1107


when to use 'mutable' keyword and when to use 'const cast' in c++

2165


What are stacks?

1066


What are the benefits of polymorphism?

1278


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

3763


How does an stl file work?

1158


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

2384


What is the v-ptr?

1167