Skip to content
Snippets Groups Projects
Commit 86421ffa authored by Samuel Karlsson's avatar Samuel Karlsson
Browse files

bare3> tack 1

parent 9dcb91d8
No related branches found
No related tags found
No related merge requests found
...@@ -49,21 +49,34 @@ fn main() { ...@@ -49,21 +49,34 @@ fn main() {
// //
// what is the output in the ITM console // what is the output in the ITM console
// ** your answer here ** // ** your answer here **
// s = ABCD
// bs = [65, 66 ,67, 68]
// iteratie over slice
// 65,66,67,68
// iterate iterate using (raw) indexing
// 65,66,67,68
// a = AAAA
// //
// what is the type of `s` // what is the type of `s`
// ** your answer here ** // ** your answer here **
// String
// //
// what is the type of `bs` // what is the type of `bs`
// ** your answer here ** // ** your answer here **
// aray u8
// //
// what is the type of `c` // what is the type of `c`
// ** your answer here ** // ** your answer here **
// u8
// //
// what is the type of `a` // what is the type of `a`
// ** your answer here ** // ** your answer here **
// array u8
// contains [65,65,65,65]
// //
// what is the type of `i` // what is the type of `i`
// ** your answer here ** // ** your answer here **
// usize
// //
// commit your answers (bare3_1) // commit your answers (bare3_1)
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment