Program of Printing Reverse of dynamic integer Array in C++ Unknown 20:39 arry Edit Reverse of dynamic integer Array #include<iostream.h>int main(){ int i,size;cout<<"enter size ====";cin>>size;int *ptr = new int [size];cout<<" your Arry is ===="<<endl;for(i=0;i<=size;i++) { cin>>ptr[i]; }cout<<"your Reverse of Arry is"<<endl; for(i=size;i>=0;i--) { cout<<ptr[i]<<endl; } } <<<<<<<<<<<<<< ------------------------------------>>>>>>>>>>>>>>> Share on Facebook Share on Twitter Share on Google Plus About Unknown This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel. RELATED POSTS C++ Program of Finding occurence ...Program of find Greater number usin...
0 comments:
Post a Comment