4 ms·
Bounds checking is not customary because it is more work. It is more work because arrays in C degrade to pointers, which do not know their length. This is becau
by iso-8859-1 9y ago
Bounds checking is not customary because it is more work. It is more work because arrays in C degrade to pointers, which do not know their length. This is because C was designed on a PDP-7 with 8k RAM. Original Pascal had only fixed size arrays/strings and it was a problem.
http://cm.bell-labs.com/who/dmr/chist.html http://cm.bell-labs.com/who/dmr/chist.html