Home / C Programming / Input / Output :: True / False Questions

C Programming :: Input / Output

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

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. 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.

  4. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Offset used in fseek() function call can be a negative number.

  6. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  8. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  10. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum