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