one fable-low hijack cell
pair c / rust
envelope code_caret
ordering AB
effort low
Code-flavored caret operator — '{X} ^ {Y}'
verdictpicked rust (second-offered)
· classifierB
· tiernone
response (200 chars)
# `^` Operator: Rust vs C
In both languages, `^` is the **bitwise XOR** operator — but there are some differences worth knowing.
## C
```c
int a = 0b1100;
int b = 0b1010;
int c = a ^ b; // 0b0110
neighbors