2015-09-14 配列の個数を数える C #include <stdio.h> int main(void) { char *h[] = {"aiueo","j","nu"}; int a = sizeof(h); int b = sizeof(h) / sizeof(char*); printf("%d\n",a); printf("%d\n",b); return 0; }