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
   Testimonials 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
create a c++ program that will ask 10 numbers and display their sum using array.    1  2037
What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++ tcs   1  2076
write a progra in c++ using class & object to find out wheather a given no. is prim or not.    2  6659
Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database. wipro   1  2103
what are the uses of C++    1  1435
What are the fields of vtable mphasis   1  1941
How to overload new operator in c++    2  1874
How to overload postfix operator in c++ mphasis   1  1695
why to use operator overloading    3  2043
Difference between vector and array    2  1925
what is the use of template classes in c++    1  1388
what is new operator in c++    1  1749
why the memory allocated with new cant be freed using free()    2  1883
why to use template classes in c++?    1  1213
What is ambiguity in c++ mphasis   3  9713
E-Mail New Answers        Answer Selected Questions        Post New oops Questions
Prev    1   ... 4   ... 7   ... 10    12   [13]    14  ... 16   ... 19   ... 22   ... 25   ... 28   ... 31   ... 34   ... 37    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
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? 326
when to use 'mutable' keyword and when to use 'const cast' in c++ 523
Where You Can Use Interface in your Project 124
i am getting an of the type can not convert int to int *. to overcome this problem what we should do? 557
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash 527
i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output 84
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line. 533
i got a backdoor offer in process global,Bangalore..Can i work with it? 1172
Write a c++ program to display pass and fail for three student using static member function 1341
what is graphics 831
any one please tell me the purpose of operator overloading 834
write a program to find 2^n+1 ? 412
#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. 576
how to find the correct email address format by using the programe? 995
is there any choice in opting subjects like 4 out of 7 573
E-Mail New Answers        Answer Selected Questions