Formatted Output - 1 Online Exam Quiz
Formatted Output - 1 GK Quiz. Question and Answers related to Formatted Output - 1. MCQ (Multiple Choice Questions with answers about Formatted Output - 1
fputs() adds newline character.
Options
A : TRUE
B : FALSE
C : Depends on the standard
D : Undefined behaviour
fputs() function writes a string to a file that only ends with a newline.
Options
A : TRUE
B : FALSE
C : Depends on the standard
D : Depends on the compiler
puts() function adds newline character.
Options
A : TRUE
B : FALSE
C : Depends on the standard
D : Undefined behaviour
The syntax to print a % using printf statement can be done by __
Options
A : %
B : \%
C : '%'
D : %%
What is the purpose of sprintf?
Options
A : It prints the data into stdout
B : It writes the formatted data into a string
C : It writes the formatted data into a file
D : None of the mentioned
Arithmetic Operators - 1 more Online Exam Quiz
Turing Machine-Notation and Transition Diagrams
Engine Components - Connecting Rod