Untitled

 avatar
user_7248805
plain_text
2 years ago
283 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
    unsigned short A=15, B=8, step = 3;
    unsigned short res1, res2, res3;
    res1 = A & B;
    cout << res1 << endl;
    res2 = A ^ B;
    cout << res2 << endl;;
    res3 = A >> step;
    cout << res3 << endl;
}