C Programming Tutorial 20 Escape Sequences & Format Specifiers C C++

Pubblicato il: 19 maggio 2011
sul canale di: itteacher1
2,112
0

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)


In questa pagina del sito puoi guardare il video online C Programming Tutorial 20 Escape Sequences & Format Specifiers C C++ della durata di ore minuti seconda in buona qualità , che l'utente ha caricato itteacher1 19 maggio 2011, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,112 volte e gli è piaciuto 0 spettatori. Buona visione!