Both seemed same to me can anyone explain to me these two functions in easy english
1 Answer
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 :)
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 :)