2018-07-22 00:51:41 +00:00
|
|
|
/* Test C02 array manipulation */
|
|
|
|
|
|
|
|
#pragma origin 1000
|
|
|
|
|
|
|
|
char b, c, i;
|
|
|
|
|
|
|
|
char r[255];
|
2018-08-04 22:29:04 +00:00
|
|
|
const char s = "string";
|
|
|
|
const char d = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
|
|
|
|
const char n = {1, 2, 3, 4, 5, 6, 7, 8, 9};
|
|
|
|
const char t = {"eins", 1, "zwei", 2, "drei", 3, "vier", 4};
|
2018-08-11 04:13:57 +00:00
|
|
|
const char z = "zero";
|
2018-07-22 00:51:41 +00:00
|
|
|
|
|
|
|
char func();
|
|
|
|
|
2018-08-11 04:13:57 +00:00
|
|
|
puts(" ");
|
|
|
|
|
2018-07-22 00:51:41 +00:00
|
|
|
c = d[3];
|
|
|
|
b = n[i];
|
|
|
|
b = s[n[i]];
|
|
|
|
b = s[c + n[i-1]];
|
|
|
|
b = s[func()];
|
|
|
|
b = s[0] & d[c-1] | n[i+2];
|
2018-07-22 02:23:10 +00:00
|
|
|
b = s[A] + b[X] + c[Y];
|
2018-07-22 00:51:41 +00:00
|
|
|
|
2018-08-16 20:26:44 +00:00
|
|
|
r[0], r[1], r[2] = func();
|
|
|
|
r[b], r[c], r[i] = func();
|
|
|
|
|
2018-07-22 00:51:41 +00:00
|
|
|
pop b, d[i], n[func()], s[c-n[i+3]];
|