aliasing.c (157B)
1 int f(int *a, int *b) 2 { 3 *a = 1; 4 *b = 2; 5 return *a; 6 } 7 8 int g(int *__restrict__ a, int *__restrict__ b) 9 { 10 *a = 1; 11 *b = 2; 12 return *a; 13 }
cs205-lecture-examplesExample codes used during Harvard CS205 lectures | |
| git clone https://git.0xfab.ch/cs205-lecture-examples.git | |
| Log | Files | Refs | README | LICENSE |