diff options
author | Dave Gauer <ratfactor@gmail.com> | 2021-02-13 11:37:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-13 11:37:30 -0500 |
commit | c2cb0e798f4276d783f2653a3c8582452e62a325 (patch) | |
tree | e4fa6bee8ba340dfc78524a6006fdd72bc481cda /exercises/04_arrays.zig | |
parent | 0b0dba168fb5a988fda0d43cb84dce68f25752fc (diff) | |
parent | 8bacd290d9eb64412fd8b18c2af96e148d84b98f (diff) | |
download | ziglings-c2cb0e798f4276d783f2653a3c8582452e62a325.tar.gz ziglings-c2cb0e798f4276d783f2653a3c8582452e62a325.tar.bz2 ziglings-c2cb0e798f4276d783f2653a3c8582452e62a325.tar.xz ziglings-c2cb0e798f4276d783f2653a3c8582452e62a325.zip |
Merge pull request #11 from tijb/patch-2
Update 04_arrays.zig | Array Index
Diffstat (limited to 'exercises/04_arrays.zig')
-rw-r--r-- | exercises/04_arrays.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/04_arrays.zig b/exercises/04_arrays.zig index 0f4ffe1..b8eeb9d 100644 --- a/exercises/04_arrays.zig +++ b/exercises/04_arrays.zig @@ -11,11 +11,11 @@ // // Get values of an array using array[index] notation: // -// const bar = foo[3]; // 5423 +// const bar = foo[2]; // 5423 // // Set values of an array using array[index] notation: // -// foo[3] = 16; +// foo[2] = 16; // // Get the length of an array using the len property: // |