Write C expressions that evaluate to 1 when the following conditions are true and to 0 when
Fantastic news! We've Found the answer you've been seeking!
Question:
Write C expressions that evaluate to 1 when the following conditions are true and to 0 when they are false. Assume x is of type int.
(a) Any bit of x equals 1.
(b) Any bit of x equals 0.
(c) Any bit in the least significant byte of x equals 1.
Related Book For
Introduction to Real Analysis
ISBN: 978-0471433316
4th edition
Authors: Robert G. Bartle, Donald R. Sherbert
Posted Date: