News for hackers. Stuff that matters.
Re:A nice, little known C feature: Static array indices in p... by corysama on Monday February 18, 2013 @03:49PM (#5240545)
Wouldn't you need to put your sizeof test outside of every call to your function? Inside the function it would only know the declared parameter's type, so it would have no idea what sized array you actually passed.

There are no comments on this comment yet.