Hacker News new | ask | show | jobs
by uryga 3517 days ago
I remember trying that, and I think it only works in the scope where you declared the array. So for example if you pass the array to a function, the size info is lost. Might be because of the "arrays decay to pointers" thing