Professional Documents
Culture Documents
B & B Institute of Technology Computer Deprtment (GIA) : Assignment-5 Dt.:18/07/2022
B & B Institute of Technology Computer Deprtment (GIA) : Assignment-5 Dt.:18/07/2022
Computer Deprtment(GIA)
Assignment-5 Dt.:18/07/2022
Q.1 Define Polymorphism. Give difference between compile time and runtime
polymorphism.
Q.2 Define operator overloading. Write rules for operator overloading.
Q.3 Explain unary operator overloading with example. (using member function & friend function)
Q.4 Explain binary operator overloading with example. (using member function & friend function)
Q.5 Explain virtual function with example.
Q.6 Write rules for virtual function.
Q.7 Explain pure virtual with example.
Q.8 Give difference between virtual function and pure virtual function.
Q.9 Explain C++ Stream class with its hierarchy structure.
Q.10 Explain the functions get() , put() , getline() and read() with example.
Q.11 What is difference between getline( ) and read( ) function ?
Q.12 Explain File open() (with modes) and close() function with example.