1.

Which header file is required in C++ to use OOP?(a) iostream.h(b) stdio.h(c) stdlib.h(d) OOP can be used without using any header fileThis question was posed to me in exam.This question is from OOPs Basic Concepts topic in division OOPs Concept & Features of Object Oriented Programming

Answer»

Right option is (d) OOP can be used without using any header FILE

The explanation: We NEED not include any specific header file to use OOP concept in C++, only specific functions used in code need their RESPECTIVE header files to be included or classes should be DEFINED if needed.



Discussion

No Comment Found

Related InterviewSolutions