summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
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