Question: do 2 first 2. Write a C program that reads a 16-bit short parameter from the user in hex, and flips the bytes in the

do 2 first
2. Write a C program that reads a 16-bit short parameter from the user in hex, and flips the bytes in the number. For example, if the user enters 0xABCD, the program should print OxCDAB. Use the %x" format string to read a hexadecimal value in scanf. Use bitwise operators to solve this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
