Is there any problem on doing that?
char* field = new char[2];
field[0] = 'S';
field[1] = '\0';
char c = *field;
will c always be equal to 'S'?
No problem with that, c will always be 'S'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With