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
2 months agoSimona
1 months agoAileen
2 months agoSharen
2 months agoAdell
3 months agoTamie
3 months agoMaybelle
1 months agoHector
1 months agoStephen
2 months agoSueann
2 months agoGregoria
3 months agoVal
3 months agoWhitney
3 months agoLea
3 months agoTruman
3 months agoDesmond
3 months agoDesmond
3 months agoDesmond
3 months ago