What will happen when you attempt to compile and run the following code?
#include
using namespace std;
int main (int argc, const char * argv[])
{
enum state { ok, error, warning};
enum state s1, s2, s3;
s1 = ok;
s2 = warning;
s3 = error;
s4 = ok;
cout << s1<< s2<< s3;
return 0;
}
Phuong
1 years agoHayley
1 years agoCandida
1 years agoLemuel
1 years agoLaticia
1 years agoBernardine
1 years agoTruman
1 years agoTruman
1 years agoStevie
1 years agoBroderick
1 years agoSarah
1 years agoTawna
1 years agoMona
1 years agoSolange
1 years agoInes
1 years agoBea
1 years agoTatum
1 years agoTheron
1 years ago