Question: Suppose that ints are 3 2 bits and shorts are 1 6 bits ( note that both int and short are signed numbers ) ,

Suppose that ints are 32 bits and shorts are 16 bits (note that both int and short are signed numbers), what is the value of sx in decimal based on the following code:int x =52143short sx =(short) x;(Total Points: 4)Use the editor to format your answer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!