Ask Question
16 April, 02:29

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.

+3
Answers (2)
  1. 16 April, 05:12
    0
    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]);

    }

    }
  2. 16 April, 05:26
    0
    void showValues (int [maximum volume], int);
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write the prototype for a function named showValues. It should accept an array of integers and an integer for the array size as arguments. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers