✔ 最佳答案
I've just tested that and it's not the case, at least with gcc,
<cmath> has to be included. But there are lots of different compilers. You mention <math.h> which is an old header file from C and used in C++98. The new versions of C++, eg C++14, use <cmath>.
Your compiler may be using a built in version of pow. Some compilers have lots of built in functions. gcc includes many builtins but it checks the header files before using them. Some builtins just won't work outside the header files others do.
iostream probably doesn't define pow but it includes other includes. If you ever try and follow all the includes included by other includes you end up opening lot of files. So it may be defined in an included include somewhere else.
What that means is that if you give your C++ file to someone else to compile, it may not compile. If you included cmath then it would compile with any standard compliant C++ compiler. What they guarantee is that if you follow the C++ standard then it will compile. But it might compile if you don't.
If you want you can always look in the <iostream> header file. The C++ in the header files is a bit advanced but they are useful reading to help you learn more about C++.