Skip to content

Commit bbe05d0

Browse files
authored
Update README.md
1 parent 043ca77 commit bbe05d0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
# String-of-length-without-using-function-in-c
2-
Find length without using function strlen() in C.
1+
# String of length without using function in C
2+
* Find length without using function strlen() in C.
3+
1. The program gets a string from user.
4+
2. The counter is initially set to zero, when string is entered one by one the counter is incremented by 1.
5+
3. When string is entered completely and hit enter the compiler adds '\0' at the end of string.
6+
4. Counter keeps incrementing until '\0' is not entered.
7+
5. Counter is printed at the end of program.

0 commit comments

Comments
 (0)