#4029. [GESP202412 七级 C++] 第 11 题

[GESP202412 七级 C++] 第 11 题

下面程序的输出为( )。

#include <iostream>
#include <cmath>
using namespace std;
int main() {
    cout << (int)exp(2) << endl;
    return 0;
}

{{ select(1) }}

  • 4
  • 7
  • 100
  • 无法通过编译。