source: Deliverables/D2.2/8051/tests/clight/testTB_Array_ecriture.c @ 486

Last change on this file since 486 was 486, checked in by ayache, 9 years ago

Deliverable D2.2

File size: 197 bytes
Line 
1int t[5] = {0,0,0,0,0};
2
3int array_ecriture (int tabecr[], int i, int j) {
4
5        tabecr[i] = 1;
6        tabecr[j] = 5;
7
8        return 0;
9}
10
11int main(){
12        int a = array_ecriture(t,0,1);
13        return t[1];
14}
Note: See TracBrowser for help on using the repository browser.