Help me in solving CLB041 problem

My issue

I have done correct code but it’s not accepting

My code

#include <stdio.h>
#include <string.h>

int main() {
 char txt[] = "NumeroTres";
printf("The length of the word is:%d", strlen(txt));// your code goes here
	return 0;
}


Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone

In printf after colon and before printing strlen you didn’t give a space , means before printing %d you have to give a space.

printf(“The length of the word is: %d” , strlen(txt));

1 Like