You are on page 1of 1
Visit: www.brpaper.com_ B-TechDiplomaCABBAMBA, Msc IT -tech Distance DECEMBER 2006 CS-252 OBJECT ORIENTED PROGRAMMING (B.Tech Semester - 3®” - 2126) Time: 03 Hours Maximum Marks : 60 Note:- Section - A is compulsory. Attempt any Four questions from Section - B. Attempt anyTwo questions from Section C. Qt SECTION- A (2 Marks Each) a) What is manipulator? Why do we need it? b) What is the advantage of using stream for I/O operations in C++? ©) What is name mangling? d) What is the difference between by passing augment by value to that of reference? ©) What is the advantage of contiguous memory allocation in arrays? f) — Ifaand b are two arrays of same type, can the statement a= b, work? 2) How is structure passed to a function? h) How is memory allocated to structure variables? i) What is null pointer? j) can we write afi] as ifa]? SECTION - B (5 Marks Each) Explain the following with examples: a) setbase(). by) setfill (). What is the difference between actual and formal arguments? Explain the relationship between. them. What is an array of characters? Where are they used? ‘What is a structure? How can the structure be nested? ‘What is void * pointer? What is its use? SECTION - C (10 Marks Each) What is operator overloading? Explain binary operator overloading. What is inheritance? How itis implemented? Distinguish between public and private inheritance. What are virtual functions and pare visamal functions? Where are they used? Explain.

You might also like