Sezione 3. Capitolo 8
single
Challenge: Calculating String Length
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 3. Capitolo 8
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione