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
12 months agoHayley
12 months agoCandida
11 months agoLemuel
11 months agoLaticia
1 years agoBernardine
1 years agoTruman
11 months agoTruman
11 months agoStevie
1 years agoBroderick
1 years agoSarah
1 years agoTawna
1 years agoMona
12 months agoSolange
12 months agoInes
12 months agoBea
12 months agoTatum
1 years agoTheron
1 years ago