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