Week 9 printf Flashcards
1
Q
printf syntax
A
printf(Formatted String, expr1, expr2, …)
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.