#include <stdio.h>
#include <string.h>
int main(){
char n[] = "NAME";
strlwr(n);
printf("%s", n);
return 0;
}
I just wanted to print lower case "NAME" word but it doesn't work
string.c: In function ‘main’:
string.c:6:9: warning: implicit declaration of function ‘strlwr’; did you mean strlen’? [-Wimplicit-function-declaration]
6 | strlwr(n);
| ^~~~~~
| strlen
/usr/bin/ld: /tmp/cc6E8Fyf.o: in function `main':
string.c:(.text+0x2f): undefined reference to `strlwr'
collect2: error: ld returned 1 exit status
according to C there is no function named strlwr() but I think there is function named so.