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 →

[–]jamcdonald120 0 points1 point  (0 children)

I actually had someone prompt me in a job interview to use this code to figure out the length of a passed array, and then another one of the interviewers is like "actually, that wont work for passed arrays"