第32448题 单选题
以下关于C++代码运行结果的描述,正确的是?
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
    // 假设当前运行环境下rand()返回值范围是0~RAND_MAX(32767)
    int a = rand() % 100;
    srand(10);
    int b = rand() % 100;
    cout << a << "," << b << endl;
    return 0;
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析