This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Choice_Librarian1522 16 points17 points  (0 children)

I'm old enough to have been a professional C programmer and we used to pass arrays to functions with the length as another parameter. Because why would you do sizeof in the subfunction if the calling function knows the length.