Home / C Programming / Library Functions :: True / False Questions

C Programming :: Library Functions

  1. It is necessary that for the string functions to work safely the strings must be terminated with '\0'.

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. FILE is a structure suitably typedef'd in "stdio.h".

  4. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. ftell() returns the current position of the pointer in a file stream.

  6. A.

    True

    B.

    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Data written into a file using fwrite() can be read back using fscanf()

  8. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. If the two strings are found to be unequal then strcmp returns difference between the first non-matching pair of characters.

  10. A.

    True

    B.

    False

    View Answer

    Workspace

    Discuss Discuss in Forum