Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Arrays/Bc/arrays.bc
Normal file
18
Task/Arrays/Bc/arrays.bc
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/* Put the value 42 into array g at index 3 */
|
||||
g[3] = 42
|
||||
/* Look at some other elements in g */
|
||||
g[2]
|
||||
0
|
||||
g[4342]
|
||||
0
|
||||
/* Look at the elements of another array */
|
||||
a[543]
|
||||
0
|
||||
/* Array names don't conflict with names of ordinary (scalar) identifiers */
|
||||
g
|
||||
0
|
||||
g = 123
|
||||
g
|
||||
123
|
||||
g[3]
|
||||
42
|
||||
Loading…
Add table
Add a link
Reference in a new issue