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