Consider the function definition and array declarations. Which are incorrect calls to the function make_2? Why?
(In considering this code, you are to ignore the a) b), and so on, at the start of the lines, and consider that this code is to be embedded in a complete and correct program.)
```
void make_2 ( int a[], int size )
{
for (int i = 0; i < size; i++ )
a[i] = 2;
}
int array1[20];
a) make_2( array, 30 );
b) make_2( array, 10 <
//A declaration for parts e) through h).
int array2[50];
d) make_2( array2, 50 );
e) make_2( array2[5],50 );
```
b) make_2( array, 10 <
You might also like to view...
To insert an image on a Web page, one must use the image element.
Answer the following statement true (T) or false (F)
What heap operation does the following function implement?bool heapOperation (HEAP* heap, void* dataPtr){ if (heap->size == 0) { heap->size = 1; heap->last = 0; heap->heapAry[heap->last] = dataPtr; return true; } if (heap->last == heap->maxSize - 1) return false; ++(heap->last); ++(heap->size); heap->heapAry[heap->last] = dataPtr; _reheapUp (heap, heap->last); return true;}
A. create heap B. insert heap C. reheap up D. reheap down
The ____ function requires a control string as the first argument inside the function name parentheses.
A. sqrt() B. pow() C. scanf() D. log()
Audio or video that can be viewed in a web browser without downloading it is ____ media.
A. anonymous B. streaming C. sticky D. general