Question: In C Please: Write a program that allows for the following: 1. using function named unsigned long bytes(unsigned long num){} 2. ACCEPTS user input: a
In C Please:
Write a program that allows for the following:
1. using function named unsigned long bytes(unsigned long num){}
2. ACCEPTS user input: a 8 byte integer.
3. with this 8 byte int, swap bytes 1, 2 and 3,4, and 4,5,6, and 7,8.
and then returns the output to the user.
for example:
INPUT: 12345
Expected Value: 1004523
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
