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

  • (A) getchar()
  • (B) gets()
  • (C) scanf()
  • (D) fread()
πŸ’¬ Discuss
βœ… Correct Answer: (A) getchar()
Explanation: getchar() reads a single character from stdin.
Explanation by: Mr. Dubey
getchar() reads a single character from stdin.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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