본문 바로가기
MS Jeong - Blog
카테고리
검색하기
검색하기
Search
MS Jeong - Blog
숫눈길
분류 전체보기
(36)
Programming
(36)
Algorithms
(13)
Function
(21)
Coding Techniques
(1)
etc.
(0)
Guestbook
Notice
Recent Posts
Recent Comments
«
2025/08
»
일
월
화
수
목
금
토
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Today
Total
닫기
관리 메뉴
글쓰기
방명록
RSS
관리
MS Jeong - Blog
[Function] strlen(char s[]): return length of s 본문
Programming/Function
[Function] strlen(char s[]): return length of s
숫눈길
2017. 8. 6. 21:04
/* strlen: return length of s */ int strlen(char s[]) { int i; i = 0; while (s[i++] != '\0') { ; } return i; }
공유하기
게시글 관리
MS Jeong - Blog
저작자표시
(새창열림)
'
Programming
>
Function
' 카테고리의 다른 글
[Function] lower(int c): convert c to lower case; ASCII only
(0)
2017.08.06
[Function] atoi(char s[]): convert s to integer
(0)
2017.08.06
[Function] copy(char to[], char from[]): copy 'from' into 'to'; assume to is big enough
(0)
2017.08.06
[Function] getLine(char s[], int lim): read a line into s, return length
(0)
2017.08.06
[Function] power(int base, int n): raise base to n-th power; n >= 0
(0)
2017.08.06
공유하기 링크
페이스북
카카오스토리
트위터
'Programming/Function' Related Articles
[Function] lower(int c): convert c to lower case; ASCII only
2017.08.06
[Function] atoi(char s[]): convert s to integer
2017.08.06
[Function] copy(char to[], char from[]): copy 'from' into 'to'; assume to is big enough
2017.08.06
[Function] getLine(char s[], int lim): read a line into s, return length
2017.08.06
more
Comments
Blog is powered by
kakao
/ Designed by
Tistory
티스토리툴바