Question: 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

Click to view Correct Answer

Exam Quiz App on Google Play

Previous ||

Formatted Output - 1 more questions

What are the Properties of the first argument of a....

fputs() adds newline character.

fputs() function writes a string to a file that only....

puts() function adds newline character.

The syntax to print a % using printf statement can....

If f(x)=x7+x5+x4+x3+x+1 and g(x)=x3+x+1, find f(x) x g(x).

If f(x)=x7+x5+x4+x3+x+1 and g(x)=x3+x+1, find the quotient of f(x) /....

The polynomial f(x)=x3+x+1 is a reducible.

Driving vehicles on wet surfaced roads, is dangerous because it....

gets() function checks overflow run.

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