diff options
Update bitwiseSimpleExamples.cpp
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Sem. 07/bitwiseSimpleExamples.cpp | 2 |
diff --git a/Sem. 07/bitwiseSimpleExamples.cpp b/Sem. 07/bitwiseSimpleExamples.cpp index 77e46b1..c550a0f 100644 --- a/Sem. 07/bitwiseSimpleExamples.cpp +++ b/Sem. 07/bitwiseSimpleExamples.cpp @@ -1,7 +1,7 @@ #include <iostream> using namespace std; -bool isEven(int n) +bool isEven(unsigned n) // какво ще трябва се промени ако искаме да е signed? { return !(n & 1); } |
