| PID | Current allocation | Max Need | Available | Needed |
| P1 | 3 | 3 | 2 | 0 |
| P2 | 1 | 6 | - | 5 |
| P3 | 3 | 5 | - | 2 |
39. If w, x, y, z are Boolean variables, then which one of the following is INCORRECT?
L.H.S ≠ R.H.S
D) L.H.S.:(w + y)(wxy + wyz) = wxy + wyz
(w + y)(wxy + wyz)
wxy + wyz + wxy + wyz
wxy + wyz
L.H.S = R.H.S
Note: Whenever we have characters in the arithmetic expressions, we can replace those with their ASCII values
strlen (100 + x + 11 - x - 1)[assume x has the ASCII value of I]
⇒Strlen(110)
is printed
It gives address of second last character in the string. So it prints length 2.