Answer:
a[0]=2*a[a.length-1];
Explanation:
In the following statement, we initialize a new value to the integer data type array variable 'a' by passing the index value 0 with the variable inside the square brackets [] because the array indexing starts with 0, so the array indexing of the first element is 0 and then initialize the value that is equal to the twice of that element which is in the last.
Answer:
Linux
Explanation:
Linux is a family of open source operating system and can be easily modified and changed to meet its particular requirements. Linux is one the most used operating systems on servers, mainframe computers and even super computers. Being a free and open source system, it can be modified and distributed for both commercial and non commercial by anyone under the terms of its licence.
Answer:
quicksort.cpp
void quickSort(int arr[], int left, int right) {
int i = left, j = right;
int tmp;
int pivot = arr[(left + right) / 2];
/* partition */
while (i <= j) {
while (arr[i] < pivot)
i++;
while (arr[j] > pivot)
j--;
if (i <= j) {
tmp = arr[i];
arr[i] = arr[j];
arr[j] = tmp;
i++;
j--;
}
};
/* recursion */
if (left < j)
quickSort(arr, left, j);
if (i < right)
quickSort(arr, i, right);
}
A filter nowadays is video editing done post picture but before they were a trend it was true you had to have filters to block lens flairs and things that could ruin the photo
so in a sense of true photography yes its true