Question: Write a C expression that will yield a word consisting of the most significant byte of x and the remaining bytes of y. For instance,
Write a C expression that will yield a word consisting of the most significant byte of x and the remaining bytes of y. For instance, if x and y are of type int such that x=0xABCDEF89 and y=076543210, the C expression should give OxAB543210. Will your expression work if x and y are of type short int? Will it work for data type long int
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
