mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
commit
9dc8b3d931
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
// var bar: *u8 = &foo; // bar is a pointer
|
// var bar: *u8 = &foo; // bar is a pointer
|
||||||
//
|
//
|
||||||
// What is a pointer? It's a reference to a value. In this example
|
// What is a pointer? It's a reference to a value. In this example
|
||||||
// bar is a reference to the memory space that current contains the
|
// bar is a reference to the memory space that currently contains the
|
||||||
// value 5.
|
// value 5.
|
||||||
//
|
//
|
||||||
// A cheatsheet given the above declarations:
|
// A cheatsheet given the above declarations:
|
||||||
|
|
Loading…
Reference in a new issue