2 |
idefine MAX 5 | |
3 4 |
▼ int main (void){ | |
5 6 |
int tab[MAX]={0); | |
7 |
int i|*pt|*ptf| | |
8 9 |
pt=tab; | |
20 11 |
•ptslj | |
12 13 |
*(pt+3)=*pt ♦ 14; | |
14 |
*(pt+l)=*(pt+3) - |
Ił |
15 |
•(pt*2)=*(pt+l) • |
*( |
17 |
ptf : pt ł 5| |
'pt + 3) = *pt + 3; :f * pt ♦ 5;
pt ♦ 4)= *(ptf-2);
•(pt+4)=*(ptf-2) ♦ •(ptf-3);
for (i=0;i<MAX;i++)
printf(“tab[Xd] = Xd ",i,•(tłb+i)
23
24 return 0j
25 }
26