Untitled

mail@pastecode.io avatar
unknown
c_cpp
a month ago
274 B
0
Indexable
Never
#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