enum {
x1,
x2,
x3,
x4 = 6,
x5,
x6
};
[Answer]
x1 = 0
x2 = 1
x3 = 2
x4 = 6
x5 = 7
x6 = 8
enum {
x1,
x2,
x3 = 0,
x4,
x5,
x6
};
[Answer]
x1 = 0
x2 = 1
x3 = 0
x4 = 1
x5 = 2
x6 = 3
enum {
x1,
x2,
x3 = -1,
x4,
x5,
x6
};
[Answer]
x1 = 0
x2 = 1
x3 = -1
x4 = 0
x5 = 1
x6 = 2
沒有留言:
張貼留言