// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <iostream>

using namespace std;

typedef int *((*fun)[3]);

int main()
{
   int a=1,b=2,c=3;
   int *tmp[3];
   tmp[0] = &a;
   tmp[1] = &b;
   tmp[2] = &c;
   fun p;
   p = &tmp;
   cout << *((*p)[1]) << endl;
   return 0;
}
