Multiple choice

The _____________ I/O stream function is used to return the next character from an input file stream without moving the inside pointer.

  1. _unlink()

  2. putback()

  3. flush()

  4. peek()

  5. getline()

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

This I/O stream function is used to return the next character from an input file stream without moving the inside pointer.