I want to find the length of this :
char *s[]={\"s\",\"a\",\"b\"};
it should count 4 with the /0 but the strlen or sizeof(s)/sizeof(char) gives
What you have defined is not a string hence there is no NULL terminating character. Here you have declared pointers to 3 separate strings. BTW, you should declare your array as const char*.
const char*