![]() |
![]() |
![]() |
![]() |
![]() |
|
The display function is printf, where printf is an
acronym for print formatted. In the sample program,
the matched parentheses following the printf symbols surround the
information that printf uses to determine what to display.
In the first instance, the printf function displays a
character string; in C, character strings are delimited on both
ends by double-quotation marks:
printf ("The average of the prices is ");