测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A18433. 程序运行后会输出 2 。int main() { queue<int> q; q.push(1); q.push(2); q.push(3); q.pop(); cout << q.front() << endl; return 0; }

判断题 困难

题目描述

程序运行后会输出 2 。

int main() {
	queue<int> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.pop();
	cout << q.front() << endl;
	return 0;
}

选项(单选)

上一题 下一题