Professional Documents
Culture Documents
Dbca-022 Programming in C++ Lab
Dbca-022 Programming in C++ Lab
Dbca-022 Programming in C++ Lab
ASSIGNMENT
NOTE:
1. Last date for submission of assignments is 26-12-2022. Assignments received after 26-12-2022
2. Assignments should be in the own handwriting of the student concerned and not type-written
or printed or photocopied.
LAB ASSIGNMENTS
Note: For Lab Assignments it is required that student should execute the program and submit the
program logic (i.e. program coding), sample inputs and outputs, snapshots along with the
necessary documentation.
Maximum Marks: 20
Q1. a) Write a C++ program to overload ‘+’ operator to find the sum of length of two
given strings. (5 Marks)
(Note: if S1 and S2 are two strings then S1+S2 should give the sum of lengths of
S1 and S2).