The name of a function is AnalyzeData. It takes one argument – an array of ints with 20 values named Scores. It returns an int data type. Which of these protypes is correct?

A. void AnalyzeData(int Scores[], 20);
B. int AnalyzeData(int Scores[]);
C. int AnalyzeData(int total, int Scores);
D. int AnalyzeData(int[20]);

B. int AnalyzeData(int Scores[]);

Computer Science & Information Technology

You might also like to view...

An add method that encounters a full array should either signal it’s client or

a. Crash the program b. Allocate a larger array c. Loop back to the beginning of the array for another pass through the array d. Merely increment the loop counter into the next area of memory

Computer Science & Information Technology

Select the term below that describes communication that uses a radio frequency to share information between electronic devices in close proximity.

a. cybersquatting b. digital certificate c. shopping cart d. Near Field Communication (NFC)

Computer Science & Information Technology