C program to print length of string without using strlen()

Problem statement

Write a program to calculate length of a string using user defined function.
Here don’t use standard string handling function strlen().

Program to print string length without using strlen()

Output
Enter a string
Webencyclop
Length of string is
11

Ankit Wasankar

Senior Java Developer
Java 11 | Microservices | Reactjs | SQL

Help others by sharing the content!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.