Here's the code:
int *const *a = nullptr; int const *const *b = nullptr; b = a;
Why does this code compile and run without error? Doesn't const pointer mean that we can't change it?
Aucun commentaire:
Enregistrer un commentaire