Question: Consider the following C function on a 32-bil processor int fund (unsigned int word) ( return (int) ((word < < 24) >> 24); What hex

Consider the following C function on a 32-bil processor

int fund (unsigned int word) (

return (int) ((word << 24) >> 24);

What hex value does this function return when word = OxDEADBEEF?

,O A. OXBEEF

B. 0x000000EF

O C. OxDE000000

O D. OXDEAD

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 Databases Questions!