2.62 Check Arithmetic Right Shift
★★★
Problem:
Write a function int_shifts_arithmetic()
that yields 1 when run on a machine that uses arithmetic shifts for data type int
and yields 0 otherwise. Your code should work on a machine with any word size. Test your code on several machines.
Last updated