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