qfedu-c-level/day5/homework/h2.c

8 lines
172 B
C
Raw Normal View History

2023-07-08 16:16:58 +08:00
// 请编程,输出 '\0' == 0 的结果
#include <stdio.h>
int main()
{
printf("'\\0' == 0 的结果为: %d\n", '\0' == 0); // \0 需要转义为 \\0
return 0;
}