0
Why this outputs "lolearn" ??
char *s="sololearn"; s++; ++s; printf("%s",s);
5 Respuestas
+ 4
Because at first s++ is incrementing sololearn to ololearn and ++s is incrementing ololearn to lolearn
+ 4
https://code.sololearn.com/cEgcEjqEasB5/?ref=app
Now I think so you have understood about it
0
Atul what s is holding?? Address of sololearn or the string sololearn .pls explain .
0
12345 yes
0
Because you are printing s plus 2!!