4 ms·
There is no strict difference between a pointer and an array (of any size) at run time in C. Arrays are just pointers to a section of memory, and it's up to th
by doppelganger27 11y ago
There is no strict difference between a pointer and an array (of any size) at run time in C. Arrays are just pointers to a section of memory, and it's up to the programmer to communicate how big that section is.
- 36erhefg 11y agoThere are whole separate chapters describing arrays and pointers in the C Standard. This is by definition a strict difference. You should read those chapters and please stop spreading this beginners misconception of C.
- deleted 11y ago[deleted]
- 36erhefg 11y agoIn any case, there are significant differences at runtime as well. Look at the link I posted at your other comment.