Allocate memory dynamically to hold the int data from the binary file.
Read the binary file into the dynamically allocated memory.
Display each int value in decimal, with a width of 12, six to a line.
Display each int value in hexadecimal, with a width of 12, six to a line.
Extract the 3rd byte of each int and display it in hexadecimal, with a width of 6, twelve to a line.
Reverse the nibbles of the resulting byte and display it in hexadecimal, with a width of 6, twelve to a line.
Interpret each result from step 7 as a BCD (binary coded decimal) value and add 32 to each. Cast each result to a char and display the secret message.
Clean up your mess.
Sample output attached
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Do you need an answer to this or any other questions?