Professional Documents
Culture Documents
Ans/er ALL 0uestions $ART A!(-0 , 2 120 mar.s) 1. What is difference between the class and structure? 2. State the advantage of new and delete over malloc() and free() function. 3. What is the need for initialization of objects using constructors? . What is a !estructor? ". What is a #em$late? What are their advantages? %. What is &throw' ()? What is use? (. What is inheritance? What are t)$es of inheritance? *. What is meant b) abstract class? +. What are streams? Wh) the) are useful? 1,.What is a names$ace?
a. 0nline function b. 4riend function c. 2onst function d. 5olatile function with suitable illustrations 1".(a) What are the various t)$es of constructors? 0llustrate with $rogramming e.am$les. (Or) (b) What is meant b) function overloading? Write a 211 $rogram to illustrate the conce$t of function overloading. (1%)
Ma,imum * -00 Mar.s Ans/er ALL 0uestions $ART A!(-0 , 2 120 mar.s) 1. What 2. What 3. What . What ". What %. What (. What *. What +. What 1,.What are objects? 0llustrate with an e.am$le? is data abstraction? is a constructor? are new and delete o$erators? is a #em$late? is a e.ce$tion? is the use of abstract base class? is $ure virtual function? are the wa)s of using names$ace? are mani$ulators?