700+ câu trắc nghiệm Ngôn ngữ lập trình C có đáp án - Phần 6

Which of the following reads in a string named x with one hundred characters?

25/25

Which of the following reads in a string named x with one hundred characters?

fgets(x, 101, stdin);

fgets(x, 100, stdin);

readline(x, 100, ‘\n’);

read(x);

Giải thích

Chọn đáp án B