A.D.
PATEL INSTITUTE OF TECHNOLOGY
Object Oriented Programming-202000212 Semester: II
B. Tech. - CSD
Assignment 1
06-02-2025
Q. 1 Define Pointer in C? Explain Array of pointer with example.
Q.2 Define Dynamic Memory Allocation using Malloc() and Calloc () function
with example
Q.3 Define C++ Program Structure in detail.
Q.4 Write difference between OOP and POP.
Q.5 List Principal of OOP and explain?
Q.6 List advantage and application of OOP.
Q.7 Define Inline and Friend function with example.
Q.8 Define Function Overloading with example.
Q.9 Define call by value and call by reference with example.
Q.10 Write a program using class Phone having Data member Cost, Slot display
the phone data in main function using Object.
Q.11 Write a Program using class Cricketer having Data member: name, no of
match, no runs, no wickets, display Cricketer data in main function using object.
Q.12 Write a program using function calculate different area square ,circle
, rectangle ( hint: Function overloading).
Q.13 Define following access modifier private and public.
Q.14 Define Type casting with example.
Submission Date: 28-02-2025
Prof Sheetal Macwan
(Subject Faculty)