C语言or和and运算
#include <stdio.h> void main () { printf("0 | 0 is %d\n", 0 | 0); printf("0 | 1 is %d\n", 0 | 1); printf("1 | 1 is %d\n", 1 | 1); printf("1 | 2 is %d\n", 1 | 2); printf("128 | 127 is %d\n", 128 | 127); }
#include <stdio.h> void main () { printf("0 & 0 is %d\n", 0 & 0); printf("0 & 1 is %d\n", 0 & 1); printf("1 & 1 is %d\n", 1 & 1); printf("1 & 2 is %d\n", 1 & 2); printf("15 & 127 is %d\n", 15 & 127); }
本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/878524
积跬步以致千里,积小流以成江海。
2016年5月之前的博文发布于51cto,链接地址:shamrock.blog.51cto.com
2016年5月之后博文发布与cnblogs上。
Github地址 https://github.com/umgsai
Keep moving~!!!
2016年5月之前的博文发布于51cto,链接地址:shamrock.blog.51cto.com
2016年5月之后博文发布与cnblogs上。
Github地址 https://github.com/umgsai
Keep moving~!!!