Guest User

Untitled

a guest
Jun 17th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int someArray[5] = {1,2,3,4,5};
  4. typedef int** ppInt;
  5. ppInt test = (ppInt)&someArray;
  6.  
  7. int main(int argc, char **argv){
  8.  int i;
  9.  for(i=0; i<5; i++) printf("%d ", test[i]); // Returns "1 2 3 4 5 "
  10.  putchar('\n');
  11.  system("pause");
  12. }
Advertisement
Add Comment
Please, Sign In to add comment