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 (570)   C++ General (466)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
what is the 3 types of system development life cycle    0  6
what is difference between class template and template class?    0  39
Give two integer arrays A & B.A has n elements and B has ' n-1 ' elements . A has all the elements that are there in B. But B has one missing element. Write a function that takes arrays , A & B as imnput and finds the missing element in most optised manner .    1  72
WAP to generate 2n+1 lines of the following pattern on the computer screen:    1  88
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.    0  39
write a program that takes two numbers from user that prints the smallest number    2  95
can output 5 students using one dimensional array intel   0  65
What is this interview room ? Is it a class or an object. cybage   2  162
The type of variable a pointer points to must be the part of pointer's definition so that: infosys   1  103
OOP'S advantages of inheritance include: infosys   1  146
How to create a comment page in C #??    2  109
what is difference between thread and programme. ncc   0  68
Write a program to print the swapping in two no and using three variable. broadridge   2  153
In what scenario does the Logical file and Physical file being used? informatics   0  82
write a programme to get a character and thier ASCII value    0  93
E-Mail New Answers        Answer Selected Questions       
 [1]    2  ... 7   ... 13   ... 19   ... 25   ... 31   ... 37   ... 43   ... 49   ... 55   ... 61   ... 67   ... 73    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
what is the 3 types of system development life cycle 6
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator 253
Will I be able to get a picture in D drive to the c++ program? If so, help me out? 199
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence? 349
why and when we can declar member fuction as a private in the class? 189
• What are the desirable attributes for memory managment? 208
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 321
diff between Virtual mathod and abstract method? 388
how to making game in c++ ? 334
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel. 337
Get me an image implementation program. 198
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai. 156
what is different between oops and c++ 338
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ? 442
how can u do connectivity in c++ language? plz send me connectivity code in c++ ? 359
E-Mail New Answers        Answer Selected Questions