Skip to content
Snippets Groups Projects
Commit 9fd24ba9 authored by August Svensson's avatar August Svensson
Browse files

..

parent d20ffaec
No related branches found
No related tags found
No related merge requests found
......@@ -52,15 +52,26 @@ fn main() -> ! {
//
// 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`?
//
// ** your answer here **
// ** It is a string literal, more precise: It is a slice pointing to (&str) the string literal. **
//
// What is the type of `bs`?
//
// ** your answer here **
// ** It is a byte slice. A pointer to an array and the length of that array. **
//
// What is the type of `c`?
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment