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