unsigned u = 10; int i = -42; std::cout<<u+i<<std::endl;
for a 32 bit integer it prints 4294967264 But I am not able to understand it how it works.
Aucun commentaire:
Enregistrer un commentaire