Count the number of letters in a word without using the strlen . function
#include <stdio.h>
#include<string.h>
int main(void) {
int n,m,i,j,d;
char tab1[n],tab2[n];
d=0;
printf("enter the word :");
gets(tab1);
for(i=0;tab1[i]!='\0';i++)
d++;
printf("%d",d);
return 0;
}