Ask Question
23 November, 15:55

Check all that are true:

a. To use fscanf or textscan, every line in the file must have the same format.

b. The name "fid" is just a variable name; you can call it anything you want.

c. All input functions (textscan, fscanf, and fgetl) must be in a while loop that repeats until the end-of-file is reached.

+3
Answers (2)
  1. 23 November, 17:10
    0
    a

    Explanation:

    a) the fcanf and textscan read lines one by one in the file and interpret with the format specified. If specified format is not present in the line then, then fscanf and textscan only read the portion that matches and halt processing.

    b) fid is an identifier.

    c) input functions (textscan, fscanf etc) are pre-defined input functions. They are used instead of while loop while reading a file.
  2. 23 November, 17:17
    0
    To use fscanf or textscan, every line in the file must have the same format (A

    Explanation:

    The fscanf and textscan is used to read lines in a file and to interpret with the format specified. hence every line in the file must have the specified format in order for the fscanf and textscan to read the lines. if any line lacks the specified format, then fscanf and textscan will only read the lines that matches and stop processing. option b is wrong because "fid" is an identifier and not just a variable name

    while input functions (textscan, fscanf etc) are pre-defined input functions and must not be in a while loop infact they are used instead of a while loop.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Check all that are true: a. To use fscanf or textscan, every line in the file must have the same format. b. The name "fid" is just a ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers