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 the v-ptr?

1167

Do class declarations end with a semicolon? Do class method definitions?

1150

Can member data be public?

1037

What is the difference between the indirection operator and the address of oper-ator?

1120

What are the differences between the function prototype and the function defi-nition?

1101

If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

1103

How do you show the declaration of a virtual constructor?

942

What is a catch statement?

1052

Name four predefined macros.

1040

If you don’t declare a return value, what type of return value is assumed?

953

What is the difference between a reference and a pointer?

1121

What is a down cast?

1114

What is the difference between public and private data members?

1181

When must you use a pointer rather than a reference?

1042

What is the function to call to turn an ascii string into a long?

1067


Un-Answered Questions { C++ }

Define stl.

1269


What does h mean in maths?

1217


Is string an object in c++?

1154


What is constant keyword in C++? Illustrate its various uses.

1038


What is pass by value & reference.

1128


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.

1335


What is const pointer and const reference?

1167


What are the types of array in c++?

1168


What are the symptoms of stl?

1109


What are the uses of c++ in the real world?

1038


How does class accomplish data hiding in c++?

1182


Explain how functions are classified in C++ ?

1235


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

1059


State what is encapsulation and friend function?

1269


Can a built-in function be recursive?

1026