exercises/patches/patches/097_bit_manipulation.patch
2025-05-12 21:36:37 +02:00

12 lines
289 B
Diff

--- exercises/097_bit_manipulation.zig 2025-05-12 21:25:03.395385743 +0200
+++ answers/097_bit_manipulation.zig 2025-05-12 21:22:57.472986976 +0200
@@ -80,7 +80,7 @@
y ^= x;
// What must be written here?
- ???;
+ x ^= y;
print("x = {b}; y = {b}\n", .{ x, y });
}