0

Operator ++ with strings or chars

I got several questions in challenges looking like: string s= "foobar"; s++; What does that even mean? I'm totally confused with this and I have lost a few challenges because of thèse. Would somebody explain the meaning of this?

3rd May 2022, 4:09 PM
Jean-Baptiste Laurent
1 Réponse
+ 2
That's invalid. Can you share full code.. Is 's' is pointer ? I guess.
4th May 2022, 11:16 AM
Jayakrishna 🇮🇳