
#include <iostream> #include <cstdio> using namespace std ; int f(int ****a,int ***&d) { printf("%d ",****a); printf("d=%d ",***d); d=*a; printf("d=%d ",***d); return 0; } int main() { int A=9000; int *p=&A; int **p2=&p; int ***p3=&p2; int ****p4=&p3; int B=1000; int *pp1=&B; int **pp2=&pp1; int ***pp3=&pp2; printf("***%d ", ***pp3); f(p4,pp3); printf("A=%d ",A); printf("B=%d ",B ); printf("***%d ",***pp3); return 0; }