Help me in solving CLB041 problem

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

@harshkubavat
w of word is should be in lowercase and also leave space after :

hey bhai,

just try once again on another IDE

and u can also remove the “void” from main fucntion and then try again

In your printf statement,
the spelling of “length” is incorrect.
You’ve to write the exact line that the question asked you.
correct:-
printf(“The length of the word is: %d”,a);