Updated Nimrod for C programmers (markdown)

This commit is contained in:
skyfex 2014-12-19 16:37:35 -08:00
parent c223307877
commit 73e5dd4995
1 changed files with 16 additions and 0 deletions

View File

@ -260,6 +260,22 @@ proc baz(x : int) =
<tr> <tr>
<td> <td>
<pre> <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) { void foobar(person_t *a) {
person_t b; person_t b;
b = *a; b = *a;