Question: What will be printed by the following program? #include using namespace std; int main() {int a[7].), k, b[] = {36,49,70); a[0] = 53; a[2] =

 What will be printed by the following program? #include using namespace

What will be printed by the following program? #include using namespace std; int main() {int a[7].), k, b[] = {36,49,70); a[0] = 53; a[2] = 45 a[4) - 34 a[6] = 19; for(k=0; k=a[i]) { a[j+1] = b[k]: b[k] = a[i]; break; } } } printf("%d %d %d ", a[1], a[3), a[5]); printf("%d %d %d ", b[O], b[1], b[2]): return 0; > Your answer: 36 49 70 34 45 53 70 35 17 36 49 70 70 49 36 34 45 53 O None of them

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!