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

Câu 39: CPP: C++ Certified Professional Programmer

What happens when you attempt to compile and run the following code?#include using namespace std;int main(){cout.setf(ios::hex, ios::basefield);cout<<100<<" ";cout.flags(ios::showbase);cout<<100<<" ";return 0;}Program outputs:

Nội dung câu hỏi

What happens when you attempt to compile and run the following code?#include using namespace std;int main(){cout.setf(ios::hex, ios::basefield);cout<<100<<" ";cout.flags(ios::showbase);cout<<100<<" ";return 0;}Program outputs:

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. 64 64
  2. B. 64 0x64
  3. C. 0x64 0x64
  4. D. 64 100 — đáp án hiện tại
  5. E. compilation error

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ề