CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

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.

  1. A. one — đáp án hiện tại
  2. B. one two three
  3. C. runtime exception
  4. D. compilation error
  5. 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.

Câu hỏi liền kề