主页
C 语言
C 布尔值
demo_boolean4
运行 ❯
×
更改方向
保存代码
更改主题
#include
int main() { printf("%d\n", 10 == 10); // Returns 1 (true), because 10 is equal to 10 printf("%d\n", 10 == 15); // Returns 0 (false), because 10 is not equal to 15 printf("%d", 5 == 55); // Returns 0 (false) because 5 is not equal to 55 return 0; }
1
0
0