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 c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement

4 13926

A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

2 29041

i have given a project to create examination seating plan system in c++. so can anyone send me the answer of this question quickly??????

1 7126

what is object?

7 8089

write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2652

In java a final class is a class that cannot be derived. How can you make a similar class in C++

1 4088

if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int1 < int2 && int2 < int 3

3 7998

write a program to add two numbers without using an arithmetic operator.

NIIT,

1 4644

write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2301

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: "< 2008


I need to find a specific string between two strings how do I do it?

Infosys,

1 3969

How would you represent an error detected during constructor of an object?

1 3299

why and when we can declar member fuction as a private in the class?

2030

class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;

Manhattan,

4 6603

write a C++ programming using for loop: * * * * * * * * * *

TCS,

4 6963


Post New C++ General Questions

Un-Answered Questions { C++ General }

Is it possible to pass an object of the same class in place of object reference to the copy constructor?

983


Differentiate between late binding and early binding.

1208


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

1126


What is the best book for c++ beginners?

986


Please explain the reference variable in c++?

1025


List the merits and demerits of declaring a nested class in C++?

990


When should you use global variables?

1158


What is a dynamic binding in c++?

907


Explain rtti.

1032


total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

2532


Explain unexpected() function?

1055


How come you find out if a linked-list is a cycle or not?

993


Should I learn c or c++ or c#?

956


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3931


What is the best c++ compiler for windows 10?

998