3 ms·
Some behaviour that trips up new programmers in C: "test" != "test" Edit: To be specific, it results in undefined behaviour. The compiler may in fact alloca
by personalcompute 16y ago
Some behaviour that trips up new programmers in C:
"test" != "test"
Edit: To be specific, it results in undefined behaviour. The compiler may in fact allocate only a single block of memory for two literals if they are the same, which would allow this to evaluate to true.