3 ms·
No, it's a design flaw. It's a consequence of K&R C for the PDP-11, which had to be crammed into a small address space machine and didn't even have function pr
by Animats 11y ago
No, it's a design flaw. It's a consequence of K&R C for the PDP-11, which had to be crammed into a small address space machine and
didn't even have function prototypes. In K&R C, which is one notch above assembly code, there was no cross-module type checking and everything was really an int or a float.
Even in the 1970s, this was kind of lame. Pascal could pass array sizes through a call.