主页
C 语言
C 比较运算符
demo_oper_password_length
运行 ❯
×
更改方向
保存代码
更改主题
#include
int main() { int passwordLength = 5; printf("%d\n", passwordLength >= 8); // 0 (false), too short printf("%d\n", passwordLength < 8); // 1 (true), needs more characters return 0; }
0
1