In this article I will teach you how to use strlen function using C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following,, and

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel


You can buy my C++ book online at  

Beginner’s Guide To C++ Programming
Want to support my channel? GCash Account Jake Pomperada 09173084360 Paypal Patreon Thank you very much for your support.
Program Listing
#include <stdio.h>

#include <string.h>

void main()
 char str[] = "Computers";
 int len_str;
 len_str = strlen(str);
 printf("The word is %s  the length is %d\n", str, len_str);