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

Опубликовано: 19 Май 2011
на канале: 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)


На этой странице сайта вы можете посмотреть видео онлайн C Programming Tutorial 20 Escape Sequences & Format Specifiers C C++ длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь itteacher1 19 Май 2011, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,112 раз и оно понравилось 0 зрителям. Приятного просмотра!