1. While calling the fprintf() function in the format string conversion specifier %s can be used to write a character string in capital letters.

A. True
B. False


Correct Answer: B. False

2. A text stream is an ordered sequence of characters composed into lines, each line consisting of zero or more characters plus a terminating new-line character.

A. True
B. False


Correct Answer: A. True

3. The offset used in fseek() function call can be a negative number.

A. True
B. False


Correct Answer: A. True

4. We should not read after a write to a file without an intervening call to fflush(), fseek() or rewind()

A. True
B. False


Correct Answer: A. True

5. In a call to printf() function the format specifier %b can be used to print binary equivalent of an integer.

A. True
B. False


Correct Answer: B. False

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    17 − four =