Question: Using C Write a single program (NOT TWO programs), that ask the user for an integer (a long integer) and displays what that long integer
Using C Write a single program (NOT TWO programs), that ask the user for an integer (a long integer) and displays what that long integer looks like in memory. Then the program ask the user for a floating point number (double) and displays to the user what that double looks like in memory. Have the program repeat the above behavior (ask for long, show, ask for double, show) until user gives a non-numeric input.
Note, you are to get the values that are actually in memory and not calculate them. Again, do not calculate what the bit string should look like (like in your homework) actually look at what is in memory. I will reject any program that just calculate the bit string values.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
