Sección 3. Capítulo 8
single
Challenge: Calculating String Length
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 8
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla