Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * subprograme.c
- *
- * Created on: Mar 19, 2015
- * Author: student
- */
- #include <stdio.h>
- #include <string.h>
- #include "s514.h"
- unsigned MyStrlen(const char str[])
- {
- int lg=0;
- int i=0;
- while(str[i]!='\0')
- {
- i++;
- lg++;
- }
- return lg;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement