Multiple choice

Arrays and structures can be represented by

  1. text files

  2. unformatted files

  3. formatted data files

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Arrays and structures, being complex data types with specific memory layouts, are best represented by unformatted files. Unformatted files store data in binary format without any formatting conventions, preserving the exact structure and memory representation of complex data types efficiently. Formatted files use text encoding which is less efficient for such structures.