My issue
int main(void) {
// your code goes here
char txt = “NumeroTres”;
int a = strlen(txt);
printf(“The lenght of the Word is:%d”,a);
return 0;
program is right. but it give error
My code
#include <stdio.h>
int main(void) {
// your code goes here
char txt[] = "NumeroTres";
int a = strlen(txt);
printf("The lenght of the Word is:%d",a);
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone