揮発性のメモ2

http://d.hatena.ne.jp/iww/

配列の個数を数える

    #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;
    }