Solved

Given That X = 2, Y = 1, Z =

Question 51

Multiple Choice

Given that x = 2, y = 1, z = 0, what will the following cout statement display?
cout << "answer = " << (x || !y && z) << endl;


A) answer = 0
B) answer = 1
C) answer = 2
D) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions