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...

When a virtual member function of a class in a class hierarchy is invoked through a pointer to an object in the class hierarchy, the compiler will select the member function to be invoked

A) from the class of the type of the pointer. B) from the class of the object that is pointed to. C) from the base class of the inheritance hierarchy. D) from the derived class of the base pointer object. E) None of the above

Computer Science & Information Technology

When you incorporate Web page text excerpts into your documents, you must include a(n) ____ that follows a standard style.

A. annotation B. citation C. document D. reference

Computer Science & Information Technology