You are passing a two dimensional array, defined as below, to a function. What would be a correct function prototype? (ROWS and COLS are global constants.)
int table [ROWS] [COLS];
a) float calculate (int matrix [ ] [ COLS], int rows);
b) float calculate (int matrix [ROWS ] [ ], int rows);
c) float calculate (matrix [ ROWS] [ COLS], int rows);
d) float calculate (int matrix [ROWS ] [ ], int cols);
a) float calculate (int matrix [ ] [ COLS], int rows);
You might also like to view...
The software that contains the core components of the operating system is the ________.
a. colonel. b. central processing unit c. core d. kernel.
Compare and contrast the if single-selection statement and the while iteration statement. How are these two statements similar? How are they different?
What will be an ideal response?
What tab is accessed in order to print a slide show?
A) Insert B) Home C) Review D) File
Which of the following is NOT a consideration when purchasing memory?
A) Processor speed B) Front-side bus speed C) Column Access Strobe latency D) Capacity