Updated Nimrod for C programmers (markdown)
This commit is contained in:
parent
c223307877
commit
73e5dd4995
|
@ -260,6 +260,22 @@ proc baz(x : int) =
|
|||
<tr>
|
||||
<td>
|
||||
<pre>
|
||||
int a = 3
|
||||
int *b = &a;
|
||||
</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre>
|
||||
var a = 3
|
||||
var b = addr(a)
|
||||
</pre>
|
||||
</td>
|
||||
<td><b>Getting an address.</b> <i></i> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<pre>
|
||||
void foobar(person_t *a) {
|
||||
person_t b;
|
||||
b = *a;
|
||||
|
|
Loading…
Reference in New Issue