&做位元運算,&&做邏輯運算

#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;
}


JL8051 發表在 痞客邦 留言(0) 人氣()