Question: write a code in C language that when entered 0xAABBCCDD it will flip to 0xDDCCBBAA. (little Endian toBigEndian) use this main function int main() {
write a code in C language that when entered 0xAABBCCDD it will flip to 0xDDCCBBAA. (little Endian toBigEndian) use this main function int main() {
int in1;
int out1;
// Sample input value (It may be tested with other input values)
// Do not hard code these values inside the function
in1 = 0xAABBCCDD;
out1 = toBigEndian(in1);
printf(" Output1: %d", out1);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
