下面C++程序的输出为( )。
#include <iostream> #include <cmath> using namespace std; int main() { cout << (int)log(8) << endl; return 0; }
2
3
8
无法通过编译。