Advertisement
- A
typedef struct {
int sunday:1;
int monday:1;
// more days
int friday:1;
int saturday:1;
} weekdays; - B
typedef char[7]: weekdays; - C
typedef struct {
bit sunday:1;
bit monday:1;
// more days
bit friday:1;
bit saturday:1;
} weekdays; - D
typedef struct {
bit sunday;
bit monday;
// more days
bit friday;
bit saturday;
} weekdays;
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.