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

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

What happens when you attempt to compile and run the following code?#include using namespace std;template void f(A a){cout (a);return 0;}

Nội dung câu hỏi

What happens when you attempt to compile and run the following code?#include using namespace std;template void f(A a){cout (a);return 0;}

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. program displays: 1 — đáp án hiện tại
  2. B. program displays: 2
  3. C. compilation error
  4. D. runtime exception

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ề