damn
fucking smart
If n == 0, perhaps arr is the null pointer. You wouldn't want to try access it.
n == 0
No, accessing that element is undefined behavior.
Loading collection data...
damn
fucking smart
If
n == 0
, perhaps arr is the null pointer. You wouldn't want to try access it.No, accessing that element is undefined behavior.