Q. Which function is used to read a single character from user input?

  • (A) scanf()
  • (B) getc()
  • (C) getchar()
  • (D) read()
πŸ’¬ Discuss
βœ… Correct Answer: (C) getchar()
Explanation: getchar() is used to read a single character from standard input.
Explanation by: Mr. Dubey
getchar() is used to read a single character from standard input.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
87
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate