Domanda di colloquio di AllGo Systems

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

Risposta di colloquio

Anonimo

2 dic 2017

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

2