GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Programming  >  C++

 Print  |  
Question:  what is defference between constructor and destructor




September 09, 2005 07:49:31 #1
 sumanjit   Member Since: Visitor    Total Comments: N/A 

RE: what is defference between constructor and destruc...
 
Constructor is called when a object is createdand Destructor is called when object goes out of scopeConstructor. is used to initilize the valuesDestructor. is uised to free the memory --
     

 

Back To Question