Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20111110102814

Diff

Diff from 1.2 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc-tests/regress/c99/darray005.c

Annotated File View

faceless
1.1
1 /* c99 6.7.5.3 */ 
2 void add(int x,int y,int A1[x][y*x+100],int A2[x][y*x+100],int A3[x][y*x+100] )
3 {
4         int i,j;
5
6         for (i=0 ; i < x ; i++) 
7                 for (j=0 ; j < (y*x+100) ; j++)
8                         A3[i][j] = A1[i][j] + A2[i][j];
9 }
10
plunky
1.2
11 int main(int argcchar *argv[])
faceless
1.1
12 {
13         int a = 12
14                  b = 5
15                  c = a * b + 100;
16         int T1[a][c] ;
17         int T2[a][c] ;
18         int T3[a][c] ;
19
20         add(a,b,T1,T2,T3); 
21
22         return 0
23 }
24
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-28 16:51 +0100