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

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

parent b60a03b4
No related branches found
No related tags found
1 merge request!50Update cours_11.md (Fonction void qui retournait un int)
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment