diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-02-14 10:50:03 -0500 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-02-14 10:50:03 -0500 |
commit | 93050efc73e26be85334d941bdc14d19d58df1ca (patch) | |
tree | 779373337f1f56e24709cbb89a597bb0ff3d6838 /exercises/03_assignment.zig | |
parent | acaf051e4cad70f17e48cd595f7908dfdb2914d6 (diff) | |
parent | 74a1d3bc43a4d2e6f82e42ee58f49293a5ea3f30 (diff) | |
download | ziglings-93050efc73e26be85334d941bdc14d19d58df1ca.tar.gz ziglings-93050efc73e26be85334d941bdc14d19d58df1ca.tar.bz2 ziglings-93050efc73e26be85334d941bdc14d19d58df1ca.tar.xz ziglings-93050efc73e26be85334d941bdc14d19d58df1ca.zip |
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/03_assignment.zig')
-rw-r--r-- | exercises/03_assignment.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exercises/03_assignment.zig b/exercises/03_assignment.zig index d26f2a2..662fd18 100644 --- a/exercises/03_assignment.zig +++ b/exercises/03_assignment.zig @@ -20,6 +20,9 @@ // Example: foo can hold 8 bits (0 to 255) // bar can hold 16 bits (0 to 65,535) // +// const foo: u8 = 20; +// const bar: u16 = 2000; +// // You can do just about any combination of these that you can think of: // // u32 can hold 0 to 4,294,967,295 |