OOP 2025 Exam Guide
OOP 2025 Exam Guide
- Friend Function
- Exception Handling
- Inline Functions
- 'this' Pointer
- Static Members
- OOP Concepts
- Interface Limitations
- Arithmetic Exception
3. Write a program to exchange values between two classes using friend function.
1. Write a C++ program to implement operator overloading for complex numbers. Explain its advantages.
2. Explain public and protected inheritance. Show how inheritance supports code reuse with a program.
3. Describe stream class hierarchy. Write a file handling program using ifstream, ofstream, and getline().
4. Write a program using friend function to generate Fibonacci series and explain static members.
5. Explain runtime polymorphism with virtual functions. Discuss early vs late binding with examples.