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

Publié le: 19 mai 2011
sur la chaîne: 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)


Sur cette page du site, vous pouvez voir la vidéo en ligne C Programming Tutorial 20 Escape Sequences & Format Specifiers C C++ durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur itteacher1 19 mai 2011, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,112 fois et il a aimé 0 téléspectateurs. Bon visionnage!