Which of the following is a formatted output function in C?

18 views
  • printf() (Correct Answer)
  • scanf()
  • gets()
  • puts()

Explanation

Correct answer: a) printf()

Explanation: The printf() function is a formatted output function in C, which is used to print formatted text to the console or other output devices. It can be used to print integers, floating-point numbers, characters, and strings, among other things.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs