Skip to content
Snippets Groups Projects

Update cours_11.md

Merged radhwan.hassine requested to merge radhwan.hassine/cours:master into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -248,7 +248,8 @@ void stack_pop(stack *s, int *val) {
```C
void stack_destroy(stack *s) {
while (!stack_is_empty(*s)) {
int val = stack_pop(s);
int val;
stack_pop(s, &val);
}
}
```
Loading