Q44.webp
M

Q44.webp

Question: 44
(Choose 1 answer)
What will be the output of the following code if the input is abcdef?
char s[5];
fgets(s, sizeof(s), stdin);
printf("%s", s);
A. abcd
B. abcdef
C. abc
D. Syntax Error in fgets function

Thông tin

Category
PRF192
Thêm bởi
MyThuan2001
Ngày thêm
Lượt xem
1,478
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom