News for hackers. Stuff that matters.
Re:Massacring C Pointers (2018) by xenadu02 on Saturday September 05, 2020 @01:33AM (#24381593)
ANSI adopted function prototypes from C++ in C89. Originally C had no type checking on function parameters. All arguments were promoted to word width and pushed to the stack. If you gave a function fewer arguments it would just read garbage off the end of the stack. If you gave it excess arguments they were silently ignored.

There are no comments on this comment yet.