Question: (1) True or False A: An array index in not allowed to be a real number, except when the elements in the array are of
(1) True or False A: An array index in not allowed to be a real number, except when the elements in the array are of type double. B: In C, we can access index positions beyond the array size. That is, it is legal to have index values larger than the array size. C: In using 2D arrays in a function, definition. we always have to specify the size of the two dimensions of the array as part of the function D: In C, an array is passed by reference. However, passing an element of an array is typically by value, rather than by reference (2) Write a program that uses a function called init2DO to initialize a 2D array. The function should and resets the elements to zero. Write a second function print2Darray0 that accepts th containing the elements in the array. Your program should show the following: the 2D array, and prints out a table array as input, (i) prototype declarations for each function (ii) function calls in main (iii) function definitions for the two programs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
