以下代码的输出是?( )
stack<int> st; for (int i=1; i<=3; i++) st.push(i); while (!st.empty()) { cout << st.top() << " "; st.pop(); }
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。