Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Recursive Array Function Returns Number of Value and Response by Integer
- #include<iostream>
- using namespace std;
- int main()
- {
- const int N=5;
- int arr[N]= { 3, 2, 1, 6, 7 };
- for(int i=0;i<5;i++)
- cout<<" arr["<<N-5<<"]"<<"="<<*(arr+i);
- cout<<endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement