Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
The strlen function will return the length of whatever string or array is given to it. Even though with arrays we start counting by 0, the function itself will start counting by 1, returning a value that accurately represents each character or element within that variable.
27th Sep 2018, 12:16 PM
Faisal
Faisal - avatar