Question: What is the output of the following program: #include #include using namespace std; int array1 [] int array2 [] (1200, 200, 2300, 1230, 1543}
What is the output of the following program: #include #include using namespace std; int array1 [] int array2 [] (1200, 200, 2300, 1230, 1543} ; (12, 14, 16, 18, 20); - int temp, result = 0; int main() { for (temp result 0; temp
Step by Step Solution
There are 3 Steps involved in it
Answer The corrected code include iostream using namespace std ... View full answer
Get step-by-step solutions from verified subject matter experts
