次のプログラムは、ポインターを宣言してから、前のポインター変数のアドレスを保持する新しいポインターを宣言します。ネストされたポインター変数を使用してメモリアドレスを保持するには、どのくらいの制限がありますか?
#include <stdio.h>
#include <conio.h>
void main()
{
int x=2,y=5;
int *ptr;
int **sptr;
int ***ssptr;
ptr = &x; // address of x
*ptr = 0;
sptr = &ptr;
ssptr = & sptr;
printf(" address is ip = %u %u %u",ptr,sptr,ssptr);
_getch();
}