Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int b[] = { 5, 2, 3, 1, 8, 6 };
  4. int *f(int a)
  5. {
  6.  
  7. return b + a;
  8. }
  9. int main()
  10. {
  11. cout << *f(2);
  12. system("pause");
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement