Which of the following function calls is


1. What is the output of the following code?

int list[] ={6, 8, 2, 14, 13};

for (int i = 0; i

list[i] = list[i] - list[i + 1];

for (int i = 0; i

cout

2. Consider the following function heading:

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

and the declarations:

int list[100];

int score[50];

double gpas[50];

3. 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(gpa, 50);

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Which of the following function calls is
Reference No:- TGS01507108

Expected delivery within 24 Hours