Week 9 printf Flashcards

1
Q

printf syntax

A

printf(Formatted String, expr1, expr2, …)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Formatted String

A formatted string is the string that will be __. It is a collection of characters enclosed in __.

It can contain ordinary characters, which are printed, and format specifiers, which indicate ?

A

Formatted String

A formatted string is the string that will be printed. It is a collection of characters enclosed in double quotes.

It can contain ordinary characters, which are printed, and format specifiers, which indicate where and how each of
expr1, expr2, … will be printed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly