Both seemed same to me can anyone explain to me these two functions in easy english

1 Answer 1


The function fgets reads until a newline while the function fscanf reads until a white space.

Please accept the answer and upvote it if I helped you :)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .