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 benefits of c++?

1056

Is c++ a good beginners programming language?

1075

What does count ++ do in c++?

1205

Are there interfaces in c++?

1017

Is rust better than c++?

1120

What is c++ manipulator?

989

What is c++ stringstream?

1106

Is c++ a good first language to learn?

1071

Can I learn c++ without c?

1144

How do you flush a buffer in c++?

1099

How important is c++?

982

What is c++ best used for?

1068

Is swift faster than c++?

1024

Can char be a number c++?

1045

What does floor mean in c++?

1064


Un-Answered Questions { C++ }

What are inline functions? What is the syntax for defining an inline function?

1161


Why is it called c++?

1038


When there is a global variable and local variable with the same name, how will you access the global variable?

1101


Why it is called runtime polymorphism?

1137


Differentiate between a copy constructor and an overloaded assignment operator.

1084


What are the benefits of c++?

1056


What is difference between array and vector in c++?

1030


What is flag in computer?

1055


What is format for defining a structure?

1086


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?

1921


What is meant by const_cast?

1130


What is std :: endl?

1035


What is a class and object?

1055


What is RTTI and why do you need it?

1071


#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