0
Hey is it right that istream and ostream classes are defined in iostream header file w. r. t c++
is it right that header files contains codes in the form of classes only or not always
1 Answer
+ 1
Header files generally don't contain code, only definitions. Also, many headers, like <algorithm>, <cstdlib>, <cstdio> etc. only reference functions, no classes.