Input & Output


  1. What is the size of array “line” used in fgets(line, maxline, *fp) function?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    maxline


  1. puts() does the following when it writes to stdout.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Adds ‘n’ to the line written



  1. gets() function checks overflow run.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    False


  1. puts() function adds newline character.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    True



  1. fputs() adds newline character.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    False