2022.2.28 |符号的运用

#include  <stdio.h>
int a=3;
int b=5;
int c=a|b;
int main()
{
    printf("%d",c);
    return 0;
}

·\\011  |

\\101

\\111

结果为7

posted @ 2022-02-28 20:18  抢你红包  阅读(45)  评论(0)    收藏  举报