Not in C but there std::string in C++ similar to our String object.
C char indeed is more a byte array than a string. Actually C won't allow to change the string value mainly because it thinks you try to change the size which something that is not allowed for arrays anyway, so the only way to change a char string aka char array is character by character.
Null termination is why I filled the shared memory with zeros to be on the safe side and then added the string and the number on top
What i meant, i wanted to warn Dimitris that
char[100]��
are just array of 100 characters (bytes in C).. and has nothing to do with strings.
Do not confuse fixed-length C arrays with strings. There's no 'string' data type in C, and instead they use null-terminated character sequence as a convention. But it is not a fixed-size data.