Question: Write and test a C function called int_shifts_are_arithmetic() that yields 1 if arithmetic right shifts for data type int are used and yields 0 otherwise.
Write and test a C function called int_shifts_are_arithmetic() that yields 1 if arithmetic right shifts for data type int are used and yields 0 otherwise. Make sure your code works on both 64-bit and 32-bit machines. Use the command "gcc m32 " to generate an executable for a 32-bit machine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
