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++
 
  STL (96)   OOPS (571)   C++ General (468)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
What is design patterns in C++? persistent   2  8134
if there is binary tree which one is the easiest way to delete all child node? persistent   1  3196
They will ask u question about single linked list?. Write Code for to insert delete node. persistent   2  2426
How much is size of struct having 1 char & 1 integer? persistent   11  5343
Generally variables are stored in heap memory. When he variables are created in stack? persistent   4  3225
Ask to write virtual base class code? satyam   0  865
What is size of Empty Class? persistent   3  3288
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number? persistent   2  3930
Copy Linked List using recursive function? persistent   2  3536
which is the easy way to divide any integer by 2? persistent   2  2522
write a short note on Overloading of Binary Operator?    2  5101
what is polymorphism?    4  2244
difference between class and object magic-soft   10  3898
What is the expansion of OOPS? tcs   24  12682
which is best institue to learn C/C++ IN AMEERPET OR MAITHRIVANAM OR SR NAGAR, PLEASE HELP. THANKS IN ADVANCE    5  3150
E-Mail New Answers        Answer Selected Questions       
Prev    1   ... 7   ... 13   ... 19   ... 25    30   [31]    32  ... 37   ... 43   ... 49   ... 55   ... 61   ... 67   ... 73    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
i am getting an of the type can not convert int to int *. to overcome this problem what we should do? 492
write a program to find 2^n+1 ? 334
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading. 2094
i got a backdoor offer in process global,Bangalore..Can i work with it? 1083
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database. 701
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand.... 567
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables. 1304
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer 370
officer say me - i am offered to a smoking , then what can you say 385
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario? 626
Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation 487
what is graphics 728
explain sub-type and sub class? atleast u have differ it into 4 points? 665
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly? 354
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7? 2167
E-Mail New Answers        Answer Selected Questions