(Solved) : 7 Declarations Give Names Memory Locations Identify Use Program Storing Retrieving Data Pr Q44064521 . . .

7. Declarations give names to memory locations so we canidentify and use them in our program for storing and retrievingdata, in this program, integers. List the line numbers wheredeclarations appear in this program.
8. Executable statements actually perform an action when theprogram runs, and they’re converted to machine language by thecompiler for the computer to execute. List the line numbers where Cexecutable statements appear in this program.
10. What changes when your program runs if you modify the linewith the printf( ) on it where you see the characters %02.lf to bejust %d Briefly explain why.
11. What happens if you change the function name printf on line19 to be puts Briefly explain why.
12. What is a syntax error? Explain in your own words so yourpeers would understand what you are describing.
13. When we were computing the CELSIUS temperature, we had#define CELSIUS_ADJUSTMENT 0.5555555 but with KELVIN we have#define KELVIN_ADJUSTMENT 0.5555555 + 273.15 Briefly explain why wecan’t just have the following instead of doing the addition in thisdefine statement. #define KELVIN_ADJUSTMENT 273.755555
14. The preprocessor include directives at the top of the sourcecode contain functions and symbolic constants that are needed bythe program. Let’s see if we can figure out what each one does. Tryremoving the first include directive and recompile your program.Then return it and try removing the second include directive andrecompile your program. Note the errors you get when they’remissing, if any.
12 #define CELSIUS_ADJUSTMENT 0.5555555 13 14 int main () 15 { 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 } double fahrenheit, celsius; // prompt for input from the user printf( “Enter a temperature in fahrenheit: ” ); scanf( “lf”, &fahrenheit ); // perform the calculation to perform the conversion celsius = ( fahrenheit – 32.0 ) * CELSIUS_ADJUSTMENT; // display the results printf( “0.21f degrees fahrenheit is 10.21f in celsius.n”, fahrenheit, celsius ); printf( “AlfF = sf. n”, fahrenheit, celsius ); return EXIT_SUCCESS; Show transcribed image text 12 #define CELSIUS_ADJUSTMENT 0.5555555 13 14 int main () 15 { 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 } double fahrenheit, celsius; // prompt for input from the user printf( “Enter a temperature in fahrenheit: ” ); scanf( “lf”, &fahrenheit ); // perform the calculation to perform the conversion celsius = ( fahrenheit – 32.0 ) * CELSIUS_ADJUSTMENT; // display the results printf( “0.21f degrees fahrenheit is 10.21f in celsius.n”, fahrenheit, celsius ); printf( “AlfF = sf. n”, fahrenheit, celsius ); return EXIT_SUCCESS;
Expert Answer
Answer to 7. Declarations give names to memory locations so we can identify and use them in our program for storing and retrieving…
OR