C programming examples for the 2024–2025 academic year.
| Topic | Source code |
|---|---|
| Output and variables | bonjour.c, variable.c |
Input with scanf and fgets |
scanf.c, fgets.c |
| Command line arguments | lignedecommande.c |
| Pointers and memory sizes | valptr.c, sizeofptr.c |
| Dynamic memory allocation and loops | memoire.c |
| Structures and unions | union.c |
Programming errors: array bounds and sizeof |
erreurs.c |