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