Question: 1. The items passed in a function call are the _ The corresponding appear in the function prototype and heading- 2. Constants and expressions can

1. The items passed in a function call are the _ The corresponding appear in the function prototype and heading- 2. Constants and expressions can be actual arguments corresponding to formal parameters that are parameters. 3. The part of a program where an identifier can be referenced is called the of the identifier. 4. What are the values of main function variables x and y at the point marked values here */ in the following program? /* nonsense */ void silly(int x); int main(void) { int x, y: x = 10; y = 11; silly(); silly(y); /* values here */ 1/ ... program shortened ... void silly(int x) { int y: y = x + 2; x 2; in the following version? 5. Let's make some changes in our nonsense program. What are main's x and y at/" values here void silly(int *x); int main(void) { int x, y; x - 10; y - 11; silly(8x); silly(y); /* values here */ 11... program shortened ... void silly(int **) { int y; y *x 2; 6. For each of the following, write a statement that performs the indicated task. Assume that floating point variables numberi and number 2 are defined and that number is initialized to 7.3. a) Define the variable fPtr to be a pointer to an object of type float. b) Assign the address of variable numbers to pointer variable fPtr c) Print the value of the object pointed to by fPtr. d) Assign the value of the object pointed to by fPtr to variable number2 e) Print the value of number2. f) Print the address of numbers. Use the Xp conversion specifier. B) Print the address stored in fPtr. Use the Xp conversion specifier. Is the value printed the same as the address of number1? Write a function called letter_grade that has a type int input parameter called points and returns through an output parameter gradep the appropriate letter grade using a straight scale (90-100 is an A, 80-89 is a B, below 80 is a F)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
