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 < c) "Hey, make_2, come change array1. Its size is 20."
//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 < d) make_2( array2, 50 );

Computer Science & Information Technology

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)

Computer Science & Information Technology

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

Computer Science & Information Technology

The ____ function requires a control string as the first argument inside the function name parentheses.

A. sqrt() B. pow() C. scanf() D. log()

Computer Science & Information Technology

Audio or video that can be viewed in a web browser without downloading it is ____ media.

A. anonymous B. streaming C. sticky D. general

Computer Science & Information Technology