Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- enum colors {red, green, blue} color;
- printf("%d\n", color);
- color++;
- color++;
- color++;
- color++;
- printf("%d\n", color);
- }
- // #./test
- // 1
- // 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement