Which of the following statements about character output is true?

A. putchar writes a character to a user-specified stream.
B. fputc writes a character to a user-specified stream.
C. putc writes a character to the standard input stream.
D. Before putchar can be used, the programmer must open its stream.
E. If the write is successful, the function returns true.


Answer: B

Computer Science & Information Technology

You might also like to view...

Describe how cookies can be used to store information about a user.

What will be an ideal response?

Computer Science & Information Technology

A runtime exception is a/an:

(a) checked exception (b) unchecked exception (c) offending exception (d) none of the above

Computer Science & Information Technology

Which of the following is NOT true about integrated circuits?

A. They are made of silicon and germanium. B. Another term for them is microchip. C. They are packed with microscopic circuit elements. D. Integrated circuits are connected to the CPU.

Computer Science & Information Technology

A Boolean function answers the question, "What type of thing are you?"

Answer the following statement true (T) or false (F)

Computer Science & Information Technology