aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Data Structures and File Organizations
  • Which of the following function is a macro that outputs a...
Multiple choice

Which of the following function is a macro that outputs a character to a file stream specified using file pointer?

  1. getc()

  2. putc()

  3. ungetc()

  4. rewind()

  5. getInputStream()

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

This function is a macro that outputs a character to a file stream specified using file pointer.

Keep practicing — related questions

  • Which of the following functions pushes the character read previously using getc() back into input stream p...
  • Which of the following functions is used in 'C' to write a single character into an output file?
  • Which of the following functions accepts file pointer as a parameter and resets the position of the file po...
  • Which of the following member functions is used to get a single character from a file?
  • The _____________ I/O stream function is used to return the next character from an input file stream withou...
  • Which of the following functions accepts file pointer, as a parameter and returns either a non zero integer...
  • Which of the following functions returns the number of items that are successfully written into the file id...
  • Which of the following file control functions returns the current position of the file pointer on success a...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Computer File Systems (1249 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy