Skip to content
Snippets Groups Projects
Commit a0494031 authored by Henrik Theolin's avatar Henrik Theolin
Browse files

bare3_1

parent f1b4a06b
No related branches found
No related tags found
No related merge requests found
...@@ -52,27 +52,40 @@ fn main() -> ! { ...@@ -52,27 +52,40 @@ fn main() -> ! {
// //
// 1. What is the output in the `openocd` (Adapter Output) console? // 1. What is the output in the `openocd` (Adapter Output) console?
// //
// ** your answer here ** // **
// bare3
// s = ABCD
// bs = [65, 66, 67, 68]
// iterate 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 ** // ** str **
// //
// What is the type of `bs`? // What is the type of `bs`?
// //
// ** your answer here ** // ** [u8] byte slice**
// //
// What is the type of `c`? // What is the type of `c`?
// //
// ** your answer here ** // ** u8 byte **
// //
// What is the type of `a`? // What is the type of `a`?
// //
// ** your answer here ** // ** array **
// //
// What is the type of `i`? // What is the type of `i`?
// //
// ** 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