今天才知道 printf 有返回值,而且是什么意思

int printf ( const char * format, ... );


Return Value

On success, the total number of characters written is returned.
On failure, a negative number is returned.
原文地址:https://www.cnblogs.com/lxgeek/p/1988703.html