C programming examples for the 2022–2023 academic year.
| Topic | Source code |
|---|---|
| Output, variables, and scope | bonjour.c, variables.c, portee_variable.c |
| Data type sizes, limits, and conversions | sizeof.c, limits.c, typecast.c |
| Input and strings | scanf.c, fgets.c, strlen.c |
| Conditions and loops | if.c, switch_int.c, for.c, do_while.c |
| Loop control | do_while_break.c, do_while_continue.c |
| Arrays and pointers | tableau.c, tableau_init.c, charptr.c, intptr.c |
| Enumerations, structures, and unions | enumerations.c, struct_union.c |
| Preprocessing and functions | preprocesseur.c, main.c, function_add.c, function_add.h |
| Command line arguments | ligne_commande.c |
| File output and appending | file_write.c, file_append.c |