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 is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same

CTS,

3 8468

What are smart pointer? Whats its use?

CTS,

1 5747

What are function poinetrs? where are they used?

CTS,

1 4577

How many pointers are required to reverse a link list?

CTS,

5 11369

How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?

CTS,

2 9430

Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";

CTS,

7 25040

What are Binay tress and B trees? Diff between them?

CTS, GATE, Wipro,

8 15373

why we call c++ is object oriented lanaguage

HCL,

7 14479

WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??

Biocon, MIT, NIIT,

21 37909

Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

2250

Explain when u will use Observer pattern and how u will implement in c++ .

1 4726

What is the difference between static link library and dynamic link library?

Tech Mahindra,

7 21338

In multilevel inheritance constructors will be executed from the .... class to ... class

ABCO, TCS,

2 15888

reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it

2 4887

what is template and type convertion

TATA,

2496


Un-Answered Questions { C++ }

If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1151


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

3830


Is abstract thinking intelligence?

1117


Write a Program to find the largest of 4 no using macros.

1150


Explain differences between new() and delete()?

1150


Is c++ the hardest language?

1048


Define token in c++.

1213


What is encapsulation selenium?

1082


How many types of classes are there in c++?

1091


Explain how overloading takes place in c++?

1102


Can we use clrscr in c++?

1137


What is new in c++?

1158


What is endianness?

1156


What is the use of typedef?

1151


What is the role of C++ shorthand's?

1330