sync: 2026-11-13 12:35

This commit is contained in:
benji.benji committed 2026-11-13 12:35:01 +01:00
1 parent 2636e29ccb
commit b65c5953b1
1 file changed
+14
+14
View File
@@ -1092,3 +1092,17 @@ Les seuls opérateurs qui s'appliquent à des enregistrements sont `=`, `&` et `
printf("age : %d\n", martin.age); printf("age : %d\n", martin.age);
``` ```
```c
int majeur(etudiant* e) {
return (*e).age >= 18;
}
int main(void) {
...
if (majeur(&martin) {
...
}
...
}
```