1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 01:34:19 +02:00

[c/en] Fix typo

This commit is contained in:
georgehu716
2025-03-26 11:22:50 +08:00
parent 5f344b47fa
commit fd0edcf257

2
c.md
View File

@@ -42,7 +42,7 @@ enum days {SUN, MON, TUE, WED, THU, FRI, SAT};
// Enumeration values can also be specified // Enumeration values can also be specified
enum days {SUN = 1, MON, TUE, WED = 99, THU, FRI, SAT}; enum days {SUN = 1, MON, TUE, WED = 99, THU, FRI, SAT};
// MON gets 2 automatically, TUE gets 3, etc. // MON gets 2 automatically, TUE gets 3, etc.
// WED get 99, THU gets 100, FRI gets 101, etc. // WED gets 99, THU gets 100, FRI gets 101, etc.
// Import headers with #include // Import headers with #include
#include <stdlib.h> #include <stdlib.h>