Câu 5: CPP: C++ Certified Professional Programmer
What will happen when you attempt to compile and run the code below, assuming that you enter the following sequence: one two three ?#include #include using namespace std;int main (){string a;cin>>a;cout<<a<<endl;return 0;}Program will output:
Nội dung câu hỏi
What will happen when you attempt to compile and run the code below, assuming that you enter the following sequence: one two three ?#include #include using namespace std;int main (){string a;cin>>a;cout<<a<<endl;return 0;}Program will output:
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. one — đáp án hiện tại
- B. one two three
- C. runtime exception
- D. compilation error
- E. the result is unspecified
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.