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 months agoHayley
1 months agoCandida
25 days agoLemuel
30 days agoLaticia
2 months agoBernardine
2 months agoTruman
23 days agoTruman
1 months agoStevie
2 months agoBroderick
2 months agoSarah
2 months agoTawna
2 months agoMona
1 months agoSolange
2 months agoInes
2 months agoBea
2 months agoTatum
2 months agoTheron
2 months ago