Practice Ques
Practice Ques
MODULE I
CLASS and OBJECTS
30 State the use of scope resolution operator and its use in C++.
40
MODULE II
OPERATOR OVERLOADING
6 List the operators that can be overloaded and one that cannot be
overloaded . Give reasons why some operators cannot be
overloaded.
20 Create a class time and overland the increment (++) operator that
operates in both prefix and postfix notation and display the
calculated time.
28.
MODULE III
INHERITANCE
1 What is the difference between public and private inheritance?
12 What are pure virtual functions? How do they differ from normal
virtual functions?
13 What are the rules that need to be kept in mind while deciding
virtual functions?
21 State the reason for making a class virtual with the help of
example
26
27
MODULE IV
EXCEPTION HANDLING, FILE and I/O
12 What is the difference between the statement cin>> ch; and ch=
cin.get(); ?
28 Create a class template for stack operations and write the C++
program.
30 Write a C++ program to create a new file to store and retrieve the
student marks details using file I/O classes.
http://www.vidyarthiplus.in/2011/11/anna-university-object-oriented_16.html
https://techhyme.com/exception-handling-questions/