Assignmnet#01
Assignmnet#01
Course Outcomes: Upon the completion of the course, students shall be able to
02. Apply function overloading, constructor overloading, operator overloading & its uses in
programming.
03. Implement inheritance and polymorphism concepts and its use for application development.
04. Implement static & dynamic memory allocation for software development.
Assignment #01
05 Write a program in C++, to create a class called as Person. The data members are age, 01
name & height of the person. Using array of objects scan the record of 100 such
persons & display the same.
06 Write a program in C++, to create a class called as Distance. The data members are 01
Km, & Mt. Write a function Sum ( ) which will add two Distance objects D1 & D2 and
store the summation result in D2. (Hint: 1000 Mts=1Km)
07 What is constructor? What are its features? Explain using a C++ program. 01
Course In-charge
Dr Vijay B Gadicha