Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Valandil

    Passing an array as function paramater problem.

    Well I guess I fixed it myself. #include <stdio.h> #define MAXSTUDENTS 25 int input(int *numgrades[]); float average(int *numgrades[], int num_grades); int main(void) { float mean = 0.0; int numgrades[MAXSTUDENTS] = {0}; int grades_entered = 0; grades_entered = input(numgrades); mean...
  2. Valandil

    Passing an array as function paramater problem.

    Ok, so im working on a little program that I need to prompt the user to input integers, which are stored in an array. The data in the array is then passed into another function which adds all the array location together, and divides it by the number of numbers entered to give an average of the...

Part and Inventory Search

Back
Top