3 ms·
Can someone explain what happened in the C example?
by orbitur 11y ago
Can someone explain what happened in the C example?
- steveklabnik 11y agoWell, it's not guaranteed to print 3, it can do anything it wants. Since you have a dangling pointer, it's not pointing to valid memory. So it depends.