Multiple choice technology programming languages

Class that reads and writes to an array in memory is

  1. ostream

  2. ifstream

  3. strstream

  4. None of the Above

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

In C++, the strstream class (from `) provides stream input and output operations on character arrays in memory.ostreamis for general output streams, andifstream` is specifically for reading from files on disk.