Skip to content
Snippets Groups Projects

Update cours_11.md (Fonction void qui retournait un int)

1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -216,7 +216,7 @@ void stack_peek(stack s, int *val) {
@@ -216,7 +216,7 @@ void stack_peek(stack s, int *val) {
. . .
. . .
```C
```C
void stack_pop(stack *s, int *val) {
int stack_pop(stack *s, int *val) {
stack_peek(*s, val);
stack_peek(*s, val);
element *tmp = *s;
element *tmp = *s;
*s = (*s)->next;
*s = (*s)->next;
Loading