Which programming language is this?
#include <stdio.h>
enum color { RED, GREEN, BLUE };
int main(void) {
enum color c = GREEN;
printf("color #%d\n", c);
return 0;
}
Answer: C
#include <stdio.h>, int main(void) and printf with a %d format string are classic C.