6 ms·
The truth lies somewhere between a) and b). I don't really know C well, as I'm mainly programming in PHP. Sure, I can read and write it, but I definitely don't
by nikic 15y ago
The truth lies somewhere between a) and b).
I don't really know C well, as I'm mainly programming in PHP. Sure, I can read and write it, but I definitely don't know the details of the language (and yes, I'd consider that a detail as the only difference I know of is the behavior of sizeof).
- npc 15y agoThere's more to it than just sizeof, for example an array of arrays is structured completely differently than an array of pointers to other arrays, even if you can still access items via a[i][j].