Bug of the Day
1 enum color_t { red=1, orange, green, blue };
2
3 struct car
4 {
5 float weight;
6 float length;
7 float width;
8 unsigned passengers:4;
9 unsigned convert:1;
10 unsigned pwr_brake:1;
11 unsigned pwr_steer:1;
12 enum color_t color:2;
13 };
14
15
16 struct car climacto_I;
The programmer is creating a structure to describe an automobile. What fatal mistake is he or she making?
Talks and Presentations