mardi 24 février 2015

Null termination in strings

Yes, I did check other threads and I have come to a conclusion. I just want you to confirm it so that I don't have any misconceptions.



Java String objects are not null terminated.


C++ std::string objects are also not null terminated


C strings or C-style strings if you will (array of characters), are the only strings that are null-terminated.



Correct or Incorrect?


Aucun commentaire:

Enregistrer un commentaire