Input & Output
- What is the size of array “line” used in fgets(line, maxline, *fp) function?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
maxline
- puts() does the following when it writes to stdout.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Adds ‘n’ to the line written
- gets() function checks overflow run.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
False
- puts() function adds newline character.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
True
- fputs() adds newline character.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
False