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)
Nesta página do site você pode assistir ao vídeo on-line C Programming Tutorial 20 Escape Sequences & Format Specifiers C C++ duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário itteacher1 19 Maio 2011, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,112 vezes e gostou 0 espectadores. Boa visualização!