Which of the following reads in a string named x with one hundred characters?
Which of the following reads in a string named x with one hundred characters?
A. fgets(x, 101, stdin);
B. fgets(x, 100, stdin);
C. readline(x, 100, ‘\n’);
D. read(x);
Hướng dẫn
Chọn B là đáp án đúng