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;
}
Aide
7 months agoSimona
6 months agoAileen
6 months agoSharen
6 months agoAdell
7 months agoTamie
7 months agoMaybelle
6 months agoHector
6 months agoStephen
6 months agoSueann
7 months agoGregoria
7 months agoVal
8 months agoWhitney
8 months agoLea
8 months agoTruman
8 months agoDesmond
7 months agoDesmond
7 months agoDesmond
7 months ago