ALLInterview.com :: 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
   Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Software >> Programming Languages >> C++ >> OOPS
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
what is code for call by value and call by reference?    1  1198
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?    2  482
Write an operator overloading program to write S3+=S2.    2  928
Write A Program using Single and Multiple Inheritance.    1  714
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions) accenture   0  674
WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)    1  1029
Write an operator overloading program to Overload ‘>’ operator so as to find greater among two instances of the class.    1  957
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  10315
what is the use of classes in c++; hcl   2  1903
tel me oops defination in single line    2  1665
WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.    11  1960
what is the difference between javap and jad utility wipro   1  1596
can we create and enter the data & hide files using programmes ? wipro   2  1129
what isthe difference between c structure and c++ class    5  1528
what are the realtime excercises in C++? wipro   0  313
E-Mail New Answers        Answer Selected Questions        Post New oops Questions
Prev    1   ... 4   ... 7   ... 10   ... 13   ... 16    18   [19]    20  ... 22   ... 25   ... 28   ... 31   ... 34   ... 37    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
How to call a non virtual function in the derived class by using base class pointer 1202
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION? 153
what is the sylabus for priliminaries? 235
i got a backdoor offer in process global,Bangalore..Can i work with it? 538
What is byval and byref? What are differences between them? 177
what are the different types of qualifier in java? 254
program for insertion ,deletion,sorting in double link list 466
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy 496
what is graphics 193
What is the renewal class? 519
what is difference between thread and programme. 49
explain sub-type and sub class? atleast u have differ it into 4 points? 320
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments. 473
#include <stdio.h> #include <alloc.h> #include <stdlib.h> #include <conio.h> void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals. 188
any one please tell me the purpose of operator overloading 372
E-Mail New Answers        Answer Selected Questions