B.B.A (C.a) 2013 Pattern (1) 2 - Organized
B.B.A (C.a) 2013 Pattern (1) 2 - Organized
of Printed Pages—5
Seat
No. [5417]-401
B.B.A. (C.A.)/B.C.A. (IV Semester) EXAMINATION, 2018
(401) OBJECT ORIENTED PROGRAMMING USING C++
(2013 PATTERN)
Time : Three Hours Maximum Marks : 80
N.B. :— (i) All questions are compulsory.
(ii) Figures to the right indicate full marks.
(iii) All questions carry equal marks.
(iv) Neat diagrams must be drawn wherever necessary.
(v) Assume suitable data if necessary.
oriented programming.
file.
inline function.
function.
base class.
[5417]-401 2
4. Attempt any four of the following : [4×4=16]
(a) Explain rules for overloading operators.
(e) Trace the output of the following program and explain it. Assume
#include <iostream.h>
class Base1 {
public :
~ Base1 ( )
}
};
class Base2 {
public :
~ Base2 ( )
};
[5417]-401 3 P.T.O.
{
public :
~ Derived ( )
};
int main ( )
Derived d;
return 0;
(e) Trace the output of the following program and explain it. Assume
[5417]-401 4
{
c1+ = 2;
c2+ = 1;
int main ( )
{
int P1 = 20, P2 = 4;
Position (P1);
[5417]-401 5 P.T.O.