Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
master-embedded-systems
c-exercise-solutions public
Commits
7d81c93d
Commit
7d81c93d
authored
Nov 21, 2017
by
Dominik Widhalm
Browse files
Added informative comment in task 5.07
parent
5ec0a38d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ch_5/task_07/main.c
View file @
7d81c93d
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment