ALLInterview.com :: Home Page Forum9.Com
 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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
  Categories >> Software >> Programming Languages >> C++       
 
  STL (42)   OOPS (173)   C++ General (202)
 
Suggest New Category 
 


 

  Question  Asked @ Answers Views     select
 
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster  8  748
what is an instance of a class  2  1098
what is pulse code modulation? Wipro  1  975
//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  240
who is the founder of c++?  1  1450
tell me about yourself ?i want answer for frehers with various exasmples? HCL  2  439
what is object slicing? Wipro   3  4021
write a piece of c++ code which allocate memory to the 50 object of type CObj  2  859
if 4-5 year old brother is standing on d roof with me and watching d moon, suddenly moon coverd by cloud then how will i explain d hiding of moon to my brother. MBT  6  1296
Give 2 examples of a code optimization?  1  294
How to reduce a final size of executable?  1  99
What are the techniques you use for debugging? Adtran  0  21
Why preincrement operator is faster than postincrement?  3  1117
What is Memory Alignment? TCS  0  73
Write any small program that will compile in "C" but not in "C++"?  3  1370
E-Mail New Answers        Answer Selected Questions
 
 
Prev    1   ... 3   ... 5   ... 7   ... 9   ... 11   ... 13   ... 15    16   [17]    18  ... 19   ... 21   ... 23   ... 25   ... 27    Next
 
 
 C interview questions   C Interview Questions  C++ interview questions   C++ Interview Questions  VC++ interview questions   VC++ Interview Questions
 Delphi interview questions   Delphi Interview Questions  Programming Languages AllOther interview questions   Programming Languages AllOther Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
How to construct muliton object 149 Symphony
How const functions will be treated by compiler? 89 Symphony
How Do you Code Composition and Aggregation in C++ ? 530 IBM
Profiler in projects? 63 Symphony
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup. 40  
explain dynamic binding by drowing 5  
how can u do connectivity in c++ language? plz send me connectivity code in c++ ? 33 Ascent
When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference? 47 Microsoft
can you explain how to use JavaBean in Project 15 Infosys
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 28  
how can u create a doubly linked list with out using pointers? 9  
Describe the My Computer and My Documents folders; identify the elements that are present in every Window. 43  
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’. 15 TCS
Contrast OOP and SOA. What are tenets of each? 108 Wipro
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me. 19  
How to execute business logic for only once ..?even though user clicks submit button multiple times by mistake..? (i disabled JavaScript) 39  
sir plz send me a set of questions that been frequently held in written examination during campus selection. 20  
why we cant create array of refrences 6  
how can we design a magic square in c++?or suggest me the basic idea of it. 7  
How can you force instantiation of a template? 113 ABC
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com