STRLEN() Function – C Program

In previous C Language Program post we had discussed about String in Reverse Order and Toggle Case in String and Calculate Length of String and Reverse String and Concatenate String and Compare String and STRCAM Function and STRCAT Function.

STRLEN() Function – C Program

Write a C Program to calculate length of given string using STRLEN function.

STRLEN() Funcation : – The STRLEN() function used to get the length of given string, it count the number of character of given string and return integer value as result.

The Syntax of STRLEN() Function :

strlen(str1) – It returns the number of character of string str1.

Example of STRLEN() Function C Program

The output of strlen() string c program is :

 

Leave a Reply

Your email address will not be published. Required fields are marked *

8 + 5 =


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">