下列C++代码的输出结果是( )。
#include <iostream>
#include <cmath>
using namespace std;
int main() {
cout << sin(3.1415926 / 2);
return 0;
}
0
1
0.5
0.7071