What is the output of the following program? (2)
using namespace std;
int main()
{
int list[5];
list[4] = 10;
for (int i = 3; i >= 0; i--)
list[i] = 3 * list[i + 1];
list[i + 1] = i * list[i];
}
cout <>
for (int i = 0; i <>
cout <><>
cout
return 0;
When an array is passed as an actual parameter to a function, what is actually being passed? (6)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here