Practice ยท 1 of 4
Length Report
Implement int length_of(const char* s) returning strlen(s) as an int. Return -1 for NULL.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: String Library Practice
Practice ยท 1 of 4
Implement int length_of(const char* s) returning strlen(s) as an int. Return -1 for NULL.
Difficulty: beginner
Back to lesson: Practice: String Library Practice