This commit is contained in:
parent
84f81a61bd
commit
7605499b90
|
@ -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 = undefined;
|
||||
|
||||
p = &foo;
|
||||
p.* += 1;
|
||||
|
|
Loading…
Reference in New Issue