1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-19 04:52:13 +02:00

Update comment

This commit is contained in:
Kai Mallea
2013-06-28 21:54:28 -04:00
parent 86885dab5c
commit db168d11be

View File

@@ -225,6 +225,7 @@ for(xx=0; xx<20; xx++){
x_array[xx] = 20 - xx; x_array[xx] = 20 - xx;
} // Initialize x_array to 20, 19, 18,... 2, 1 } // 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; int* x_ptr = x_array;
// This works because an array name is bound to the address of its first element // This works because an array name is bound to the address of its first element