1-46
This commit is contained in:
parent
e8f09190d6
commit
5b51d6f393
46 changed files with 83 additions and 65 deletions
|
|
@ -31,7 +31,7 @@ pub fn main() void {
|
|||
|
||||
// Please define pointer "p" so that it can point to EITHER foo or
|
||||
// bar AND change the value it points to!
|
||||
??? p: ??? = undefined;
|
||||
var p: *u8 = &foo;
|
||||
|
||||
p = &foo;
|
||||
p.* += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue