Hacker News new | ask | show | jobs
by unwind 1011 days ago
Agree, it's broken.

It's also assigning string literals to char array struct members in a non-initializing context, which doesn't work.

As someone trying to piece together C knowledge from various b0rk3n tutorials (as a pre-Internet teenager in the early 90s) it's pretty provocative. Luckily I healed and levelled up since.

1 comments

Reminds me a bit of the "Mastering C Pointers" book that was popular in the early 90s and contained a multitude of outright errors.

https://wozniak.ca/blog/2018/06/25/1/index.html