#include <stdio.h>
#include <string.h>
int main()
{
char str[] = "Text";
printf("%d %d\n", strlen(str+4), strlen("Text"+1));
return 0;
}
References: C From Theory