Skip to content
Question Bank (3 marks) · Q18

Q.Write the formated and unformated input and output functions in C.

Karnataka PUCTextbookShort· 3mImportance★★★★★est
59% · 91/154 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

Formatted I/O = scanf()/printf(); unformatted I/O = getchar()/gets() and putchar()/puts().

C input/output functions fall into two groups:

Formatted I/O functions - they use format specifiers (%d, %f, %c, %s ...) to read or display data of any type:

  • scanf() - formatted input.
  • printf() - formatted output.

Unformatted I/O functions - they read or write single characters or strings without any format specifier: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.