c / c-functions
18 mins
C Level 4: Contiguous Memory & Null Strings
Why This Matters: Arrays in C are raw contiguous memory blocks. Strings are character arrays terminated with '\0'.
## Array Indexing & String Buffers
An array allocates elements side-by-side in contiguous memory.
### C Null-Terminated Strings
Strings in C are character arrays that end with the null terminator character `'\0'`.
```c
char str[6] = {'H', 'e', 'l', 'l', 'o', '