summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
authorKai Mallea <kmallea@gmail.com>2013-06-28 21:54:28 -0400
committerKai Mallea <kmallea@gmail.com>2013-06-28 21:54:28 -0400
commitdb168d11be3306c88eb90f775fda15fcafe3ce82 (patch)
tree274cc3813d563561d0ffceea49440c79ac08eb61 /c.html.markdown
parent86885dab5ca005ba72c21b80f7f55a9b92e17a6d (diff)
Update comment
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/c.html.markdown b/c.html.markdown
index 3f9b6c61..36bd07fd 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -225,6 +225,7 @@ for(xx=0; xx<20; xx++){
x_array[xx] = 20 - xx;
} // Initialize x_array to 20, 19, 18,... 2, 1
+// Declare a pointer of type int and initialize it to point to x_array
int* x_ptr = x_array;
// This works because an array name is bound to the address of its first element