you can read a single word at a time from a file usingSelect one:a.fgetc functionb.fscanf functionc.Both A and Bd.None of above
Question
you can read a single word at a time from a file usingSelect one:a.fgetc functionb.fscanf functionc.Both A and Bd.None of above
Solution
To read a single word at a time from a file, you can use the fgetc function, the fscanf function, or both the fgetc and fscanf functions.
Similar Questions
Which of the following function is more appropriate for reading in a multi-word string in c?
Which of the following function is more appropriate for reading in a multi-word string?
function is more appropriate for reading in a multi-word string?ans.
Which of the following correctly reads a string from a file in C?*1 pointfscanf(file, "%s", str)fprintf(file, "%s", str)fread(file, "%s", str)fput(file, "%s", str)
Which of the following function is more appropriate for reading in a multi-word string? ans. scanf() printf() gets() puts()
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.