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

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

Deliverable D2.2

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