Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkar009 authored Mar 2, 2022
1 parent 043ca77 commit bbe05d0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# String-of-length-without-using-function-in-c
Find length without using function strlen() in C.
# String of length without using function in C
* Find length without using function strlen() in C.
1. The program gets a string from user.
2. The counter is initially set to zero, when string is entered one by one the counter is incremented by 1.
3. When string is entered completely and hit enter the compiler adds '\0' at the end of string.
4. Counter keeps incrementing until '\0' is not entered.
5. Counter is printed at the end of program.

0 comments on commit bbe05d0

Please sign in to comment.