What is the value of g in the following code snippet
    #include iostream
using namespace std;
int main()
{
int g;
bool a = true;
bool b = false;
int x = 10;
int y = 5;
g = ((x | y) + (a + b));
cout g;
return 0;
}

Posted on by