:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
 Categories >> Software >> Programming Languages >> C++       
  STL (90)   OOPS (554)   C++ General (458)
Suggest New Category 


View Page with Answers
  Question  Asked @ Answers Views     select
What is the renewal class? Ebix   0  489
what is the difference between virtual function and destoctor?  1  957
what is code for call by value and call by reference?  1  1133
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?  2  446
List out function which we can call without using object  1  989
5. Can inline functions have a recursion?  4  1478
What is a dangling pointer?  2  1100
Question 1)Read the data from one file and remove all the duplicated words and generate an output file containg only using words.Program should also print number of occurance of each words on standard output.(Program must be use STL and iostream object). Question 2)Write a program to convert the lower case contents of file to upper case using STL. Question 3)What is the output of this problem. int i=12; int &r =i; r+r/4; int +p =&r; int *p = &r; P+=r; return 1; Answer :a)12 b)17 c) 30 d)24 E)15 Question 4) #include #include #include void main() { char srcstr[30],desstr[30]; int i,len; clrscr(); cout<<"\nenter the string\n"; cin>>srcstr; len=strlen(srcstr); for(i=0;srcstr[i]!='\0';i++) { desstr[--len]=srcstr[i]; } desstr[i]='\0'; cout<<"\nreversed string is\n"; for(i=0;desstr[i]!='\0';i++) { cout< } getch(); } Answer : A) string output b)tuptuo gnirts c) string d)output Question 5) Class Test { static const Tk=LEN; int q; public: foo(intx =LEN):q(x){}; TGet Q() const { return q:} void call test Foo<long :9> foo(10); std::const<< foo.Getq(); Answer: 7,8,9,10,11 question 6) class A { int a; char b; }; class B:public A { char b; int a; }; What is the size? Answer a)5 bytes for class A and 5 bytes class B b)4 bytes for class A and 8 bytes class B. c).... d).... Bally-Technologies  2  2240
Write an operator overloading program to write S3+=S2.  2  882
Write A Program using Single and Multiple Inheritance.  1  654
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions) Accenture  0  593
WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)  1  962
Write an operator overloading program to Overload > operator so as to find greater among two instances of the class.  1  882
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.    3  9277
what is data Abstraction  2  1019
E-Mail New Answers        Answer Selected Questions       
Prev    1   ... 6   ... 11   ... 16   ... 21   ... 26    30   [31]    32  ... 36   ... 41   ... 46   ... 51   ... 56   ... 61   ... 66   ... 71    Next
    C Interview Questions     C++ Interview Questions     VC++ Interview Questions
    Delphi Interview Questions     Programming Languages AllOther Interview Questions
Un-Answered Questions
 Question Views Asked at   Select
How connect plc and pc through software 387  
What is debug class?what is trace class? What differences are between them? With examples. 197  
class type to basic type conversion 295  
please visit this site you'll find my question this is my homework please answer it if you can 289  
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. 442  
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher 244 NDS
can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is <location>somewhere</location> #include <iostream> #include <fstream> #include <string> 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: "<<location << endl; cout << "Temperature: " << temperature << endl; system("pause"); } string find_field(string myPage,string find_string){ int temp=myPage.find(find_string); if(temp!=string::npos) { cout << "Match found at " << temp << endl; } return "found?"; } /// 147  
What is nutshell in programming language? 1938 Satyam
what is graphics 180  
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); } 404 SRA
what are the iterator and generic algorithms. 136  
hi, this is raju,iam studying 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me. 289  
E-Mail New Answers        Answer Selected Questions

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::