ALLInterview.com :: Home Page KalAajKal.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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
Can you explain the term "resource acquisition is 
initialization?"
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can you explain the term "resource acquisition is initialization?"
Answer
# 1
RAAI is the concept of releasing the aquired
memory/resources when the object goes out of scope.
E.g. std::auto_ptr
 
Is This Answer Correct ?    1 Yes 0 No
Melos
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
What is a constructor initializer list and when we use constructor initializer list? TCS2
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring Quark1
What are the different operators in C++? HP1
How Virtual functions call up is maintained?  2
How do you know that your class needs a virtual destructor? Lucent3
How many bit combinations are there in a byte? Intel7
What about Virtual Destructor? Virtusa1
What is the output of printf("%d")? HCL25
Difference between Top down and bottom up approaches for a given project ? HP1
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4 Quark1
Write a function which takes a character array as input and reverses it in place. Lehman-Brothers2
Write a program to reverse a linked list? Catalytic-Software2
how to swap two strings without using any third variable ?  3
what is pulse code modulation? Wipro1
Difference between Operator overloading and Functional overloading? HP3
Can you explain the term "resource acquisition is initialization?"  1
Implement strcmp Citadel2
What is the difference between = and == in C? Intel8
Why is it difficult to store linked list in an array? Lucent2
Explain "passing by value", "passing by pointer" and "passing by reference" ?  5
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
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