Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which function is the best way to read a line from a file into a character array?
fscanf(fp, "%s", str);
fgets(str, size, fp);
fgetc(fp);
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!