Pregunta de entrevista de AllGo Systems

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

Respuesta de la entrevista

Anónimo

2 de dic de 2017

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

2