Frage im Vorstellungsgespräch bei Microsoft

implement strlen

Antwort im Vorstellungsgespräch

Anonym

4. Juli 2017

String is probably implemented as an array of chars (under the hood). So either use the array size or iterate over the array, and count the size.