Question d’entretien chez NetApp

What about this code? const int *foo; *foo = 0xdeadbeef; // allowed? foo = 0xdeadbeef; // allowed?