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

Please help the directions aren't completely clear How do i label this map using another map? there are way to many things to label
If I start at 6:05 and end at 8:30. How much time is that. Isn’t is 2 hours and 25 minutes or 2 hours and 35 minutes?
làm rõ địa hình đồi núi nước ta tác động đến sự phân hóa đất như thế nào
A shop in the mall is 6 yards by 11 yards. How much would it cost to recarpet the shop with carpet that costs $5.00 per square yard?
recupera los siguientes conceptos: ecuación
briefly explain how to separate a mixture of water, kerosene, sawdust and nahso4? ​
Question: What is the conflict and theme of the story?
a substance or thing that has and takes up
Describe the advantages of aggregating data at the regional scale of analysis. *
please do the letter writting​