Answer:
#include <iostream>
using namespace std;
int * reverse(int a[],int n)//function to reverse the array.
{
int i;
for(i=0;i<n/2;i++)
{
int temp=a[i];
a[i]=a[n-i-1];
a[n-i-1]=temp;
}
return a;//return pointer to the array.
}
int main() {
int array[50],* arr,N;//declaring three variables.
cin>>N;//taking input of size..
if(N>50||N<0)//if size greater than 50 or less than 0 then terminating the program..
return 0;
for(int i=0;i<N;i++)
{
cin>>array[i];//prompting array elements..
}
arr=reverse(array,N);//function call.
for(int i=0;i<N;i++)
cout<<arr[i]<<endl;//printing reversed array..
cout<<endl;
return 0;
}
Output:-
5
4 5 6 7 8
8
7
6
5
4
Explanation:
I have created a function reverse which reverses the array and returns pointer to an array.I have also considered edge cases where the function terminates if the value of the N(size) is greater than 50 or less than 0.
Answer:
ERP.
Explanation:
Enterprise Resource Planning Is the software platform for bidirectional applications. The main objective of ERP it shared the database system and connects the enterprise as a whole so that data can be reached the once and made accessible to all users.
The main advantage of Enterprise Resource Planning is that Enterprise cycle parallelization or optimization it also the boost performance of the organization and saving the time.
Here are some.
- <html></html> This is the root element tag. ...
- <head></head> ...
- <title></title> ...
- <body></body> ...
- <h1></h1> ...
- <p></p> ...
- <a></a> ...
- <img></img>
<h2>hope it helps.</h2><h2>stay safe healthy and happy....</h2>
[YOU NEED A SIM CARD TRAY, IF A DRIVER IS NEEDED IT WILL TELL YOU AND JUST LET YOU INSTALL IT]
-Ensure the device is powered off.
-From the left edge of the device, remove the card tray. ...
-With the gold contacts facing down and the notch located in the lower-right, insert the SIM card into the tray as shown. ...
-Insert the card tray.