Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
232 B
0
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	int A = 13, B = 3, step = 1;
	int rec1 = 0, rec2 = 0, rec3 = 0;

   rec1 =  ~B;
   rec2 = A ^ B;
   rec3 = B >> step;
   cout << rec1 << " " << rec2 << " " << rec3;
}