Answer:
Hi!
The correct answer is E.
Explanation:
void change(int ar[], int low, inthigh) {
int temp;
if(low< high) { <em>// here ask if the positions low and high of the array are the same.</em>
temp= ar[low]; <em>// first, saves the element on ar[low] in temp.</em>
ar[low]= ar[high]; <em>// second, the element on ar[high] in ar[low]. First switch.</em>
ar[high]= temp; <em>// third, saves the element on temp in ar[high]. Complete switch.</em>
change(ar,low + 1, high - 1); <em>// Recursive call, adding one position to low, and subtracting one position to high. </em><em>Important: </em><em>When low and high have the same value, the recursive call will finish.</em>
}
}
Result: Switch the lower half of elements in the array with the upper half.
I belive its true but i am not a 100% sure
Answer:
string1 = "this is string 1"
string2 = " this is string 2"
print(string1 + string2)
Explanation:
the string1 variable is assigned with a string value(aka. str)
string2 is also a variable assigned with a slightly different string value
the 3rd line then prints string 1 and 2 to the console.
Answer:
1 1
2
3
5
8
13
21
34
55
Explanation:
i guess this is the answer