stack<int> st; st.push(7); int x = st.pop(); 下列说法正确的是( )。 A. x 得到 7,栈变空 B. x 得到 0 C. 编译错误:pop() 没有返回值 D. x 得到 7,栈里还留着 7