Question d’entretien chez AllGo Systems

char *ptr = "ALLGO"; *++ptr = 'l'; printf("%s", ptr); Predict Output?

Réponse à la question d'entretien

Utilisateur anonyme

2 déc. 2017

I said, this would be "Segmentation fault, (core dumped)", but he neglected. And I explained, then he accepted and skipped this question.

2