sync: 2026-11-13 12:40

This commit is contained in:
benji.benji committed 2026-11-13 12:40:01 +01:00
1 parent b65c5953b1
commit d3918fc1cc
1 file changed
+9 -1
+9 -1
View File
@@ -1094,7 +1094,7 @@ printf("age : %d\n", martin.age);
```c ```c
int majeur(etudiant* e) { int majeur(etudiant* e) {
return (*e).age >= 18; return (*e).age >= 18;
} }
int main(void) { int main(void) {
@@ -1106,3 +1106,11 @@ int main(void) {
} }
``` ```
l'écriture (\*e) est remplacer par e->
```c
int majeur(const etudiant* e) {
return e->age >= 18;
}
```