Skip to content
Question Bank (3 marks) · Q17

Q.Which are the i/p and o/p functions used in C?

Karnataka PUCTextbookShort· 3mImportance★★★★★est
56% · 87/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]

Input: scanf(), getchar(), gets(); Output: printf(), putchar(), puts().

Input and output in C are carried out by library functions available through the header file stdio.h (and conio.h). The commonly used ones are:

Input (i/p) functions:

  1. scanf() - reads formatted data of any type.
  2. getchar() - reads a single character.
  3. gets() - reads a string of characters. (getch() reads a character without echo.)

Output (o/p) functions:

  1. printf() - displays formatted data of any type. …

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.