This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//str_len | |
#include <stdio.h> | |
int strlen(char*s){ | |
int length=0; | |
while(s[length]) | |
++length; | |
return length; | |
} | |
int main(){ |
NewerOlder