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

View Answer

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

View Answer

puts() function adds newline character.

Options

A : TRUE

B : FALSE

C : Depends on the standard

D : Undefined behaviour

View Answer

The syntax to print a % using printf statement can be done by __

Options

A : %

B : \%

C : '%'

D : %%

View Answer

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

View Answer

Arithmetic Operators - 1 more Online Exam Quiz

Turing Machine-Notation and Transition Diagrams

Engine Components - Connecting Rod

Global Orbiting Navigational Satellite System

Genome Anatomy - 2

Arithmetic Operators - 1

Formatted Output - 2

Line Input & Output - 1

Access Control

Derivation and Templates

Exception Specifications