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