執行 ❯
建立您
自己的
網站
×
更改方向
更改主題,深色/淺色
前往 Spaces
#include <stdio.h> #include <stdlib.h> int main() { char c = '\n'; if (iscntrl(c)) { printf("'%c' (ASCII value %d) is a control character", c, c); } else { printf("'%c' (ASCII value %d) is not a control character", c, c); } return 0; }
'
' (ASCII 值為 10) 是一個控制字元