1
Function data type mismatch
imaddmattgaming (0)

If I delcare a prototype for a function as so:
void func(int&, int, int[], int*);

Then I declare and int but populate it as an array:
int x3 = {0};
What happens to the x3 variable that is passed into the second parameter?

You are viewing a single comment. View All
1
imaddmattgaming (0)

@Vandesm14 So then if for a question they wanted the outputs, It would be none? Just a compiler error will occur?

On the memo for the test where this question originated, the output is said to be 3 9 7 0 3