diff options
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | Sem. 4/bitwise_examples.cpp | 4 |
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 +}
|
