predict the output of the following c++ program?

int main(){
enum color{red,green,pink=10,blue}c,a;
c=blue;
a=pink;
cout<<c<<endl<<a<<endl;
}


Posted on by