Question: is iostream a header file?
Answer: iostream is a header file that provides declarations and prototypes that are an interface to part of the C++ standard library. ... Header files often contain declarations and prototypes that are an interface to a library, but the actual libraries themselves are attached to your program by the linker, not the compiler.