mathmaster731 mathmaster731
  • 24-07-2019
  • Computers and Technology
contestada

Write the prototype for a function named showValues. It should accept an array of integers and an integer for the array size as arguments. The function should not return a value.

Respuesta :

ChemBen
ChemBen ChemBen
  • 24-07-2019

Answer:

void showValues(int [maximum volume],int);

Answer Link
joaobezerra joaobezerra
  • 30-12-2019

Answer:

void showValues(int * array, int array_size){

int i;

for(i = 0; i < array_size; i++){

printf("%d\n", array[i]);

}

}

Explanation:

I am going to write the prototype of a function as a c code.

array is the array as an argument, and array_size is the argument for the size of the array.

void showValues(int * array, int array_size){

int i;

for(i = 0; i < array_size; i++){

printf("%d\n", array[i]);

}

}

Answer Link

Otras preguntas

How did the receding ice age help with the development of agrarian societies?
Which belief about government did the signers of the Mayflower Compact not include in that document?
What strategies did Charles II and James II employ to try to gain more centralized control over England’s American colonies? What did James hope to accomplish b
is 2.5 rational, integer, whole,natural, irrational
What is n? If 3 to the power of n equals 27
The chief justice of the Supreme Court is the commander in chief of the military. True or False
what does a mu mean in physics
if one set of 16 ping-pong balls cost $8, how much will 320 ping-pong balls cost???
What is the square root of 91, and what is the square root of 38?
HELP HOW DO I SOLVE THE FOLLOWING? PLEASE HELP