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