«…do you have a proper specification?»
Since I had none at hand I took the here:
"In C, the string data type is modeled on the idea of a formal string (Hopcroft 1979):
Let Σ be a non-empty finite set of characters, called the alphabet.
A string over Σ is any finite sequence of characters from Σ.
For example, if Σ = {0, 1}, then 01011 is a string over Σ."Seacord, R. C. (2020) EFFECTIVE C An Introduction to Professional C Programming no starch press
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re^2: C style strings
by karlgoethebier
in thread C style strings
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |