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

what did the english government not allow to leave the country?
Who crafted the Atomic Theory?
What is the program of the filipino nationalism?​
How to do it and I will be there in
The ability to analyze financial situations and plans very well is not necessary for a career in finance
the term for a new mexico artist whose carvings and paintings depict saints, angels, or other religious figures is
A student pushes on an object with a force of 6 newtons and the object does not move. what force does the object exert on the student’s hands?
Pls HELPPP IM CONFUSED ON THIS SINGLE QUESTIONNN PLS SHOW HOW TO SOLVE IT WITH UR ANSWER
ngày Bác Hồ ra đi tìm đường cứu nước
what percent of americans eat turkey on thanksgiving