# C 语言中 printf 与 puts 有什么区别
Issue
欢迎在 Gtihub Issue 中回答此问题: Issue 173 (opens new window)
Author
// 支持各种格式
int printf(const char *__restrict__ __format, ...);
// 只支持字符串输出到 stdout,适用于只有字符串时
int puts(const char *__s);
Issue
欢迎在 Gtihub Issue 中回答此问题: Issue 173 (opens new window)
Author
// 支持各种格式
int printf(const char *__restrict__ __format, ...);
// 只支持字符串输出到 stdout,适用于只有字符串时
int puts(const char *__s);