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 a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1159

What is function overloading in C++?

1 1500

Explain the scope resolution operator?

2 2128

How many ways are there to initialize an int with a constant?

1 1837

How does throwing and catching exceptions differ from using setjmp and longjmp?

1 1709

What is a conversion constructor?

1 1709

When should you use multiple inheritance?

2 2408

What is a virtual destructor?

2 2101

When is a template a better solution than a base class?

1 1813

What is a mutable member?

1 1518

What is an explicit constructor?

1 1630

What is the Standard Template Library?

1 1692

Describe run-time type identification?

1 1738

What problem does the namespace feature solve?

1 1639

Are there any new intrinsic (built-in) data types?

1 1612


Un-Answered Questions { C++ }

What is the difference between an array and a list?

1094


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

1256


What are constructors in oop?

1295


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

2277


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

2008


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

1136


How can a called function determine the number of arguments that have been passed to it?

1204


Why is c++ so fast?

1092


Write a program to interchange 2 variables without using the third one.

1111


Why we use classes in oop?

1099


Explain what are mutator methods in c++?

1184


What does it mean to declare a member function as static in C++?

1099


What is pure virtual function?

1110


Explain storage qualifiers in c++.

1135


What are the 2 main types of data structures?

1175