Did you mean to do this?: strcpy(bang, "gone");
What's this supposed to do? I don't see anything particularly interesting happening, with a few different compiler settings: https://godbolt.org/z/kJlc00
-
-
-
Apart from the name error, I guess he is demonstrating that the second allocation will be from the malloc small zone and take the freed germs address
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.