Can somene help me with this C question Consider the followi

Can somene help me with this C++ question:

Consider the following function heading:

void tryMe(int x [], int size);

and the declarations:

int list[100];
int score[50];
double gpas[50];

Which of the following function calls is valid?

a) tryMe(list, 100);

b) tryMe(list, 75);

c) tryMe(score, 100);

d) tryMe(score, 49);

e) tryMe(gpas, 50);

Solution

Answer: Option: b) tryMe(list, 75);                                                  

                                                                                                                                           

Can somene help me with this C++ question: Consider the following function heading: void tryMe(int x [], int size); and the declarations: int list[100]; int sco

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site