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++ General 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).

1156

What is function overloading in C++?

1 1491

Explain the scope resolution operator?

2 2117

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

1 1822

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

1 1699

What is a conversion constructor?

1 1698

When should you use multiple inheritance?

2 2394

What is a virtual destructor?

2 2086

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

1 1797

What is a mutable member?

1 1510

What is an explicit constructor?

1 1621

What is the Standard Template Library?

1 1684

Describe run-time type identification?

1 1725

What problem does the namespace feature solve?

1 1628

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

1 1605


Post New C++ General Questions

Un-Answered Questions { C++ General }

can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is somewhere #include #include #include using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<

2104


Explain function overloading and operator overloading.

1120


What does namespace mean in c++?

1134


What are static member functions?

1154


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

1465


Define Virtual function in C++.

1148


what are the characteristics of Class Members in C++?

1089


What are iterators in c++?

1061


What does std mean in c++?

1194


write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters

5369


What are the advantages of prototyping?

1125


What is c++ w3school?

1153


What is iterator c++?

1036


What are advantages of c++?

1056


what do you mean by volatile variable?

1106