Informacje

Autor(zy) Mathieu Xhonneux & Cyril Pletinckx
Termin Brak terminu
Limit zgłoszeń Bez limitu
Znaczniki kategorii s2, level1, category_string

Znaczniki

Zaloguj się

[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) {