Question: Program must be done In C. For this assignment you will write two functions and test your functions in main. Include prototypes. Function 1- This

Program must be done In C.
 Program must be done In C. For this assignment you will

For this assignment you will write two functions and test your functions in main. Include prototypes. Function 1- This function should return void and take a float*, say ptr. In the body of the function, prompt the user for a float. Set the value ptr points to equal to the user input. Function 2 This function should return void and take an int*, say ptr. In the body of the function, prompt the user for an integer. Set the value ptr points to equal to the user input. In main, define an int and float variable. Call both functions using the int and float variables just defined. Print the values of the two variables after calling the functions. Sample Run: Enter a float: 3.14 Enter an int: 7 The float is 3.14 and the int is 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!