Commit 7d81c93d authored by Dominik Widhalm's avatar Dominik Widhalm
Browse files

Added informative comment in task 5.07

parent 5ec0a38d
......@@ -37,7 +37,7 @@ void initialize_array (int* array, int size) {
/* Iterate over all elements of the array */
for (int i=0; i<size; i++) {
/* Set current element to 0 */
array[i] = 0;
array[i] = 0; // is equivalent to: *(array+i) = 0;
}
/* A void function has nothing to return */
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment