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 "RTTI"?

HCL,

6 12723

Is there something that we can do in C and not in C++?

Patni,

14 21665

What is the difference between "calloc" and "malloc"?

ADP,

9 20245

What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?

3 9616

What is the Difference between "printf" and "sprintf"?

iSoft, PentaWare, TCS,

7 47324

What is "map" in STL?

2 9078

When to use Multiple Inheritance?

6 9797

Explain working of printf?

8 23443

Explain about profiling?

1 4808

How many lines of code you have written for a single program?

BoA,

4 12813

How to write Multithreaded applications using C++?

Honeywell, TCS, Wipro,

2 11185

Write any small program that will compile in "C" but not in "C++"?

4 10951

What is Memory Alignment?

TCS,

2 9299

Why preincrement operator is faster than postincrement?

5 16889

What are the techniques you use for debugging?

Adtran,

1 7681


Un-Answered Questions { C++ }

What are c++ tokens?

1052


What is the difference between a type-specific template friend class and a general template friend class?

977


What is encapsulation in simple terms?

1035


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

1331


What problems might the following macro bring to the application?

1051


What is name hiding in c++?

1155


What's the order in which the objects in an array are destructed?

1402


#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

2614


What are the types of pointer?

1092


What is the benefit of oop?

1048


What are the five basic elements of a c++ program?

1106


What are the advantages of inheritance in c++?

1099


Why is "using namespace std;" considered bad practice?

1094


In a function declaration what does extern means?

1045


Can class objects be passed as function arguments?

1063