【文件属性】:
文件名称:printf:printf功能
文件大小:1KB
文件格式:ZIP
更新时间:2021-03-14 23:16:14
C
印刷品
印刷品简介
这是printf函数的简单实现,用于格式化和打印数据。
_printf()函数根据下面描述的格式产生输出。 此函数将其输出写入标准输出流stdout。 函数成功时返回打印的字符数,函数失败时返回-1。
可用的转换说明符为:
%c: Prints a single character.
%s: Prints a string of characters.
%d: Prints integers.
%i: Prints integers.
%b: Prints the binary representation of an unsigned decimal.
%u: Prints unsigned integers
%x: Prints the hexadecial representation of an unsigned decimal in lowercase
【文件预览】:
printf-main
----README.md(1KB)
----_putchar.c(190B)