jeudi 11 janvier 2018

difference of two string size

for example

string s1 = "";
string s2 = "a";

The print out of

cout << s1.size() - s2.size() << endl;

is 18446744073709551615?

What's happening here?

Aucun commentaire:

Enregistrer un commentaire