[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[WitchTech 00374] Re: 配列?ポインタ?



$B$"$s$_$D(B $B$G$9(B


> $B<XB-$@$H;W$$$^$9$,!"(B
$BJ,$+$C$F$$$k?M$K$O<XB-$G$b!"$3$l$+$iJY6/$9$k?M$K$O=EMW$J$3$H$G$7$g$&$M!"(B

>   int a[] = {1, 2, 3, 4};
>   static int sa[] = {1, 2, 3, 4};
> $B$G$O=i4|2=$N%?%$%_%s%0$,JQ$j$^$9$h$M!#(B($B0lHLE*$K(B total $B$N%a%b%j;HMQ(B
> $BNL$O(B sa $B$NJ}$,>.$5$/$J$j$^$9!#(B)
$B$3$l$C$F7k9==i?4<T$NJ}$O$^$k$H$3$m$+$b$7$l$^$;$s$M!#(B
static$BJQ?t$O%W%m%;%9$N<B9T3+;O;~$K0lEY$@$1=i4|2=$5$l$k(B($B@53N$K$O%m!<%I(B
$B;~$K:G=i$+$i=i4|CM$,F~$C$F$$$k(B)$B$N$G!"4X?t$KF~$C$?;~$K$$$D$b=i4|CM$,F~$C(B
$B$F$$$k$H;W$C$F=q$/$H$H$s$G$b$J$$$3$H$K$J$j$^$9$M!#(B


ML Archives