これは C コード スニペットです。
int main()
{
char *names=[ "tom", "jerry", "scooby" ];
printf("%s", *names[0]);// prints t
printf("%s", *names[1]);// prints j
// how to print full word "tom", or full word "jerry"
}
前に述べたように、出力を次のようにしたい: tom jerry scooby