int main()
{
char str[] = "example";
if((str[strlen(str+5)] == 'm') || (*(str+2)+1) == 'b')
printf("One\n");
else
printf("Two\n");
return 0;
}
References: C From Theory