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;
}
Tish
6 months agoTonja
7 months agoLuisa
7 months agoLynda
7 months agoLeatha
7 months agoDylan
7 months agoAbel
8 months agoFlo
8 months agoTish
8 months ago