3 ms·
int lookup (int *COUNT(array.length) array, int index) { return array[index]; } Shouldn't there be an assert(index < array.length) in there too? Looks a
by bjornsing 12y ago
int lookup (int *COUNT(array.length) array, int index) {
return array[index];
}
Shouldn't there be an assert(index < array.length) in there too? Looks a bit half baked to me otherwise.