Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can someone help me with this assignment real quick? Question 1: The following f

ID: 672156 • Letter: C

Question

Can someone help me with this assignment real quick?

Question 1:

The following function prototype contains a pointer variable as a parameter, determine what would be a correct function call from the main.

   void Function( int *);

int main( )

{   int num = 10;

     // function call should be here.

}

Function( num );

Function( &num );

Function (*num);

None of the above.

Question 2:

Write a program that uses a dynamic array that contains 5 items of double values. The size of the array is entered when the program is run. Also the 5 values must be entered. These tasks are done in the main() function. Then write a function to display the 5 values. The function must have a pointer variable as a parameter. The function is called from the main().  

Explanation / Answer

1. Function( &num );

2.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote