Untitled

 avatar
unknown
c_cpp
a year ago
274 B
1
Indexable
#include <iostream>
using namespace std;
int main()
{
    int A = 13, B = 3, STEP = 1;
    int res1, res2, res3;
    res1 = ~B;
    cout << res1 << endl;
    res2 = A ^ B;
    cout << res2 << endl;
    res3 = B >> STEP;
    cout << res3 << endl;
    return 0;
}
Leave a Comment