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