Q:

If a class have a public member function and is called directly in the main function then ___________________________

0

If a class have a public member function and is called directly in the main function then ___________________________


  1. Undeclared function error will be produced
  2. Out of memory error is given
  3. Program gives warning only
  4. Program shut down the computer

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(a).Undeclared function error will be produced

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
The function main() must always be public... >>
<< A derived class object can access the public membe...