ios培训------我的c语言笔记,期待与您交流!

#include <stdio.h>
int main()
{
    int a = 10;
    int b = 11;
    // 条件成立就返回1,真
    // 条件不成立就返回0,假
    int result = b < a;
    printf("%d\n", result);    //返回0
    int c = 2>3==1;
    printf("%d\n", c);         //返回0
    int d = 3+4 > 8-2;
    printf("%d\n", d);         //返回1
    int e =  5 != 4 + 2 * 7 > 3 == 10;
    printf("%d\n", e);         //返回0

    return 0;
}