Skip to content
Snippets Groups Projects
Commit 84e7b19c authored by yassin.elhakoun's avatar yassin.elhakoun
Browse files

Merge branch cours:master into master

parents 5138dcee a5ed5915
No related branches found
No related tags found
No related merge requests found
Pipeline #27305 failed
......@@ -152,7 +152,7 @@ free(p); // ne pas oublier
. . .
```C
uint32_t initialize_to(size_t size, int32_t val) {
int32_t *initialize_to(size_t size, int32_t val) {
int32_t *p = malloc(size * sizeof(*p));
for (size_t i = 0; i < size; ++i) {
p[i] = val;
......
......@@ -175,7 +175,7 @@ int k = 0;
do {
x[k] = -1;
k += 1;
} while (k < 9)
} while (k < 9);
```
# Représentation des tableaux en mémoire
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment