Osio 3. Luku 8
single
Challenge: Calculating String Length
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
Practice calculating the length of a string in C by implementing a function that counts characters until the null-terminator is reached.
- The function must return the number of characters in the string before the null-terminator.
- The function must work for empty strings as well as non-empty strings.
- The function must not use any standard library string functions.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 8
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme