• Source
    1. #include <iostream>
    2.  
    3. using namespace std;
    4.  
    5. int main()
    6. {
    7. int a = 0x02, b = 001;
    8. int c = a ^ b;
    9. int d = c | a;
    10. int e = d & 0;
    11.  
    12. cout << e;
    13. }
    14.  
    15.