Information

Author(s) Mathieu Xhonneux & Cyril Pletinckx
Deadline Keine Frist
Abgabenlimit No limitation
Category tags s2, level1, category_string

Tags

Einloggen

[S2] strlen

La libraire string(3) implémente un grand nombre de fonctions de manipulation des strings qui vous seront utiles lors de différents projets de programmation. Pour cette tâche, nous vous demandons de réimplémenter la fonction strlen(3). Don't hesitate to consult its man page.


strlen

Write the body of the function strlen which outputs the length of the string given as argument.

size_t strlen(const char* s) {