C strlen()
The strlen() function calculates the length of a given string.
The strlen() function takes a string as an argument and returns its length. The returned value is of type size_t (the unsigned integer type).
It is defined in the <string.h>
header file. Output of the below program is
Length of string a = 7
Length of string b = 7
Mixed-up sentence exercise
Put the parts in order to form a sentence. When you think your answer is correct, click on "Check" to check your answer. If you get stuck, click on "Hint" to find out the next correct part.