Explanation : Consider the following declaration
double balance[] = {1000.0, 2.0, 3.4, 17.0, 50.0};
If you omit the size of the array, an array just big enough to hold the initialization is created.
So, correct option is 'A'.
Explanation : One element takes three memory words so memory location 1120, 1121, 1123 stores first element.
A[49] will be stored at location 1264, (1120+(48*3))
Explanation : Only element 70 violates the rule. Hence, it must be shifted to its proper position.
Step1: swap(10, 70)
Step2: swap(40, 70)
Hence, only 2 interchanges are required.