Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students explore these related Databases questions

Question

c. How is trust demonstrated?

Answered: 3 weeks ago