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

Write about c++ storage classes?

1154

How the delete operator differs from the delete[]operator?

1057

What do you understand by pure virtual function? Write about its use?

964

Explain the concept of dynamic allocation of memory?

1057

In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

1024

What do you understand by zombie objects in c++?

1050

How the programmer of a class should decide whether to declare member function or a friend function?

1075

Using a smart pointer can we iterate through a container?

1035

Should the this pointer can be used in the constructor?

977

We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

1043

When should I use unitbuf flag?

974

What is the difference between prefix and postfix versions of operator++()?

1038

What is the difference between an array and a list?

988

How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

1046

When should overload new operator on a global basis or a class basis?

1033


Un-Answered Questions { C++ }

Can a Structure contain a Pointer to itself?

1079


What is polymorphism in c++? Explain with an example?

995


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1833


What is virtual destructor ans explain its use?

1084


Mention the ways in which parameterized can be invoked. Give an example of each.

1013


Why is polymorphism used?

1003


How can an improvement in the quality of software be done by try/catch/throw?

1013


can we make game by using c

4054


Is c++ low level?

996


Is c++ proprietary?

1016


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

964


What is a try block?

1037


Is swift faster than go?

1053


What is multilevel inheritance in oop?

980


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2574