My issue
include <stdio.h>
include <string.h>
int main()
{
// your code goes here
char txt[] = “NumeroTres”;
printf(“The length of the word is : %d”, strlen(txt));
return 0;
}
what’s wrong with my code
My code
#include <stdio.h>
#include <string.h>
int main()
{
// your code goes here
char txt[] = "NumeroTres";
printf("The length of the word is : %d", strlen(txt));
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone