From 8f4b6b75fd57a34d33bb9dd17af305898a8da81e Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Thu, 5 Nov 2020 02:24:49 +0200 Subject: Update bitwise_examples.cpp --- Sem. 4/bitwise_examples.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Sem. 4/bitwise_examples.cpp') diff --git a/Sem. 4/bitwise_examples.cpp b/Sem. 4/bitwise_examples.cpp index e8524ab..b6c01c0 100644 --- a/Sem. 4/bitwise_examples.cpp +++ b/Sem. 4/bitwise_examples.cpp @@ -4,7 +4,7 @@ using namespace std; int main() { int a = 13; // 000...01101 - int b = 20; // 000...10100 + int b = 20; // 000...10100 int r1 = a & b; // 000...00100(4) int r2 = a | b; // 000...11101(29) @@ -17,4 +17,4 @@ int main() std::cout << r3 << endl; std::cout << r4 << endl; std::cout << r5 << endl; -} \ No newline at end of file +} -- cgit v1.3.1-23-gd82d