函数返回值:若成功则返回欲写入的字符串长度,若出错则返回负值。 #include <stdio.h> #include <stdlib.h> int main() { char str[10]={0,}; snprintf( ...
確定! 回上一頁