:: 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++ >> OOPS       
Suggest New Category 


  Question  Asked @ Answers Views     select
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization? IntraLogic  1  3802
Contrast OOP and SOA. What are tenets of each? Wipro   1  4330
why c++ is called OOPS? waht is inherutance? what is compiler?  5  5385
What normal C constructs work differently in C++?  2  1952
Why and when is a virtual destructor needed?  5  7729
Why a "operator=(...)" when there is a copy ctor?  2  2170
what is object slicing? Wipro   9  27047
who is the founder of c++? Hexaware   15  15727
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }  1  1107
what is an instance of a class  5  2330
What is a class? TCS   32  4490
What is an object? HCL  13  3002
What is the difference between an object and a class?  3  2338
What is the difference between class and structure?  7  3721
What is public, protected, private? Satyam  6  6141
E-Mail New Answers        Answer Selected Questions        Post New OOPS Question
Prev     1   [2]    3  ... 7   ... 10   ... 13   ... 16   ... 19   ... 22   ... 25   ... 28   ... 31   ... 34   ... 37    Next
Un-Answered Questions
 Question Views Asked at   Select
what type of questions 182 IBM
#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. 169  
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions) 652 Accenture
write a program to find 2^n+1 ? 181 CTS
Is this job good for future? can do this job post grduate student? 210  
what are the different types of qualifier in java? 244 TCS
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort 160  
when to use 'mutable' keyword and when to use 'const cast' in c++ 191 TCS
diff between Virtual mathod and abstract method? 339  
Get me a number puzzle game-program 289  
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’. 295 TCS
How to call a non virtual function in the derived class by using base class pointer 1164 HCL
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.   ::