由于ANSI C99存在_Bool或bool通过stdbool.h.但是printfbool 还有一个格式说明符吗?
_Bool
bool
stdbool.h
printf
我的意思是伪代码:
bool x = true; printf("%B\n", x);
哪个会打印:
true
c c++ printf boolean
boolean ×1
c ×1
c++ ×1
printf ×1