&做位元運算,&&做邏輯運算
#include <iostream> using namespace std; int main() { // your code goes here char a,b; a=10; b=11; printf("%x\n",a&b); printf("%x",a&&b); return 0; }
全站熱搜
沒有痛苦 就沒有收穫
若內容對你有幫助,可以留言讓我知道哦~
有問題想要諮詢可以請至這裡連絡我哦 =>不會就放這邊
&做位元運算,&&做邏輯運算
#include <iostream> using namespace std; int main() { // your code goes here char a,b; a=10; b=11; printf("%x\n",a&b); printf("%x",a&&b); return 0; }