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.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.