/*== Ex05 配列とポインタ ============*/ #include "pseudo.h" /*- 配列サイズ ---------------------*/ #define aSIZE (50+1) /*====================================*/ FUNC Main() VAR INT n, nA; INT a[ aSIZE]; PointerToINT b, c; BEGIN a[0]= nA= 5; FOR (n, 1, nA) a[n]= n; ENDFOR DebugArrayInt(a, 0, nA); b= a; DebugArrayInt(b, 0, nA); c= AddressOf( a[-1]); DebugArrayInt(c, 0, nA+1); END /*===================================*/