2 ms·
You can also just use an array which sets a max capacity, and either use a null-terminator or a separate size field. In practice you probably want to have both
by mgaunard 6mo ago
You can also just use an array which sets a max capacity, and either use a null-terminator or a separate size field.
In practice you probably want to have both, and choose what's most practical based on the message.