Format Specifiers
-----------------------
There are many format specifiers defined in C.
Take a look at the following list:
%i or %d int
%c char
%f float
%lf double
%s string
************************************************************************************
escape sequence.
-------------------------
The \n used in the printf statements is called an escape sequence. In this case it represents a newline character. After printing something to the screen you usually want to print something on the next line. Commonly used escape sequences are:
\n (newline)
\t (tab)
\v (vertical tab)
\f (new page)
\b (backspace)
\r (carriage return)
\n (newline)
On this page of the site you can watch the video online C Programming Tutorial 20 Escape Sequences & Format Specifiers C C++ with a duration of hours minute second in good quality, which was uploaded by the user itteacher1 19 May 2011, share the link with friends and acquaintances, this video has already been watched 2,112 times on youtube and it was liked by 0 viewers. Enjoy your viewing!