下列代码执行后,输出结果为 30 。
queue<int> q; q.push(10); q.push(20); q.push(30); q.pop(); cout << q.front();
正确答案:错误(×)
queue<int> q; q.push(10); q.push(20); q.push(30); q.pop(); cout << q.front();
正确答案:错误(×)
想系统刷完 GESP C++ 1~8 级真题,并查看每道题的逐题精讲?
进入 GESPPASS 开始练习