Answer:
A computer, what you are using. smh.
Answer:
b)void aNonclassFunction (Banana co);
Explanation:
In the function definition you have to pass the tell the function which type of argument it is taking.In our case we are taking a variable co of Banana type passing it to the function named aNonclassFunction having no return type.
So the definition will be like this.
void aNonclassFunction (Banana co);
Answer:
scores.append(6,2)
Explanation:
This is a complicated question because in theory, scores.insert can also add values, but I am sure that the only line of code that would work is scores.append(6,2)
Answer:
Only
Option: void f1(float array[], int size);
is valid.
Explanation:
To pass an array as argument in a function, the syntax should be as follows:
functionName (type arrayName[ ] )
We can't place the size of the array inside the array bracket (arrayName[100]) as this will give a syntax error. The empty bracket [] is required to tell the program that the value that passed as the argument is an array and differentiate it from other type of value.