mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
11 lines
289 B
Diff
11 lines
289 B
Diff
--- exercises/097_bit_manipulation.zig 2023-10-03 22:15:22.125574535 +0200
|
|
+++ answers/097_bit_manipulation.zig 2023-10-05 20:04:07.282771124 +0200
|
|
@@ -80,7 +80,7 @@
|
|
y ^= x;
|
|
|
|
// What must be written here?
|
|
- ???;
|
|
+ x ^= y;
|
|
|
|
print("x = {d}; y = {d}\n", .{ x, y });
|
|
}
|