Commit 9ac9e40f authored by DevDoggo's avatar DevDoggo

Done

parent 3eec134f
......@@ -25,8 +25,8 @@ fn main() {
ip!("{},", c)
}
let a: [u8; 4] = [65u8; 4];
//let mut a = [0u8; 4];
//let a: [u8; 4] = [65u8; 4];
let mut a = [0u8; 4];
ipln!();
ipln!("iterate iterate using (raw) indexing");
let i: u32;
......@@ -82,6 +82,9 @@ fn main() {
//
// 3. uncomment line 28 (let mut a = [0u8; 4];)
// what happens and why
// >> a has its values replaced with ascii 0.
// We do change the variable into a mutable.
// We even overwrite the old one as we re-define what it is.
// ** your answer here **
//
// commit your answers (bare3_3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment