source:
Deliverables/D2.2/8051/tests/clight/testTB_Array_LE.c
Last change on this file was 486, checked in by , 10 years ago | |
---|---|
File size: 213 bytes |
Line | |
---|---|
1 | void array_LE (int tabLE[], int tabLE2[], int i, int j) { |
2 | tabLE[i] = 2; |
3 | tabLE2[j+1] = 78; |
4 | } |
5 | int main(){ |
6 | int t1[5] = {0,0,0,0,0}; |
7 | int t2[5] = {0,0,0,0,0}; |
8 | array_LE(t1,t2,0,0); |
9 | return t1[0]+t2[1]; |
10 | } |
Note: See TracBrowser
for help on using the repository browser.