0% found this document useful (0 votes)
17 views

Programming in C++

This document contains questions for an annual C++ programming exam. It has 5 units with 3 questions each about OOP concepts, structures, classes, inheritance, polymorphism, operator overloading and friend functions.

Uploaded by

zengeniallan01
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Programming in C++

This document contains questions for an annual C++ programming exam. It has 5 units with 3 questions each about OOP concepts, structures, classes, inheritance, polymorphism, operator overloading and friend functions.

Uploaded by

zengeniallan01
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

MasterProgramming.

in

H-94-21 Roll No. ....................... ANNUAL (c) Write a C++ program to demonstrate return by
reference.

EXAMINATION, 2021 Unit-III


3. (a) Write the differences between structure and class with
B.C.A. II example.
B.C.A. 203
(b) Discuss the static data member and static member
Paper III function in detail.
(Programming in C++)
(c) Write a C++ program to demonstrate copy con
Time : 3 Hours] [Maximum Marks : 80 structor.

Note : Attempt any two parts from each unit. All questions
Unit-IV
carry equal marks.
4. (a) Explain the pointer to object with example.
Unit-I
1. (a) What is OOP ? Write the appllication of OOP. (b) What is inheritance ? Write a C++ program to
demonstrate multiple inheritances.
(b) Discuss the constants and variables of C++ in detail.
(c) Discuss the access specifiers in brief.
(c) Write a C++ program to demonstrate switch state
ment.
Unit-V
Unit-II 5. (a) Describe the pure virtual function with example. (b)
2. (a) Define structure. Explain how to access structure
member with example. Write a C++ program to overload binary operator. (c)

(b) Describe how to access constant to a function with Explain the friend function with example.
example.
[2]
✪✪✪✪✪ c ✪✪✪✪✪
MasterProgramming.in

P. T. O. H-94/21 2 / 50

You might also like