diff --git a/C++ Codes/reverseaarray.cpp b/C++ Codes/reverseaarray.cpp new file mode 100644 index 0000000..c2d3c1d --- /dev/null +++ b/C++ Codes/reverseaarray.cpp @@ -0,0 +1,24 @@ +#include +using namespace std; +int main() +{ + int n; + cin>>n; + int*ptr = new int (n); + int arr[n]; + + cout<<"Enter the array"<>arr[i]; + cout<0;i--) + { + cout<