# C語言題庫-002 以下爲Linux下的32 位C 程序,請計算sizeof 的 值。 ``` char str[] = “Hello” ; char *p = str ; int n = 10; ``` 請計算 ``` (1)sizeof (str ) = (2)sizeof ( p ) = (3)sizeof ( n ) = (4)void Func ( char str[100]) { …… ; } ``` 請計算sizeof( str ) = (5)void * p = mall oc( 100 ); 請計算sizeof ( p ) = 【標準答案】(1)6(2)4(3)4(4)4(5)4