If a class have a public member function and is called directly in the main function then ___________________________
(a) Undeclared function error will be produced
(b) Out of memory error is given
(c) Program gives warning only
(d) Program shut down the computer
The question was asked in quiz.
Enquiry is from Public Member Functions in section Member Functions & its Types of Object Oriented Programming