C Tutorial/stdio.h/printf

Материал из C\C++ эксперт
Версия от 10:32, 25 мая 2010; Admin (обсуждение | вклад) (1 версия: Импорт контента...)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

printf

Item Value Header file stdio.h Declaration int printf(const char *format, ...); Function display message by format. Return the number of characters actually printed. A negative value indicates failure.


#include <stdio.h>
int main(void){
 printf("Hi %c %d %s", "c", 10, "there!");
}