2021-12-19 08:35:56 +00:00
|
|
|
// This is test program for strlen function from string.h
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
char s[] = "This is test string";
|
2021-12-24 14:19:51 +00:00
|
|
|
printf("%d\n", strlen(s));
|
2021-12-19 08:35:56 +00:00
|
|
|
return 0;
|
|
|
|
}
|