We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Data Structures
- Arrays
- Arrays - DS
- Discussions
Arrays - DS
Arrays - DS
Sort by
recency
|
2143 Discussions
|
Please Login in order to post a comment
// Write your code here int start = 0; int end = arr.size() - 1;
How i can intergerate that coding on my white screen online tool
IN C LANGUAGE:-
include
// Function to read elements into the array
void find(int arr[], int n) {
}
// Function to reverse and print the array
void reverse(int arr[], int n) {
}
int main() {
}
` function reverse(a) { let j = 0; for (let i = a.length - 1; j < i; i--) { let temp = a[j]; a[j] = a[i]; a[i] = temp; j++; }
} `