隨筆-295  評(píng)論-26  文章-1  trackbacks-0
           int  **p1;  //指向指針的指針
              int  *p2;    //指向指針的變量  其中所存儲(chǔ)的值為變量的地址,或者變量的地址的地址
              int  i=3;
              p2=&i;
              p1=&p2;
           printf("Hello World!\n"); 
           printf("%d\n",i);  //3
           printf("%d\n",**p1); //3
           printf("%d\n",*p2); //3
           printf("%d\n",&i);  //1245044
           printf("%d\n",*p1);  //1245044
           printf("%d\n",p2);   //1245044
           printf("%d\n",p1);   //1245048
           printf("%d\n",&p2);  //1245048
           printf("%d\n",&p1);  //1245052
           return 0;

          大盤預(yù)測(cè) 國富論
          posted on 2010-03-08 11:07 華夢(mèng)行 閱讀(228) 評(píng)論(0)  編輯  收藏 所屬分類: C
          主站蜘蛛池模板: 常山县| 清河县| 易门县| 纳雍县| 广安市| 正阳县| 沧州市| 平潭县| 高清| 红安县| 九龙坡区| 任丘市| 杭锦后旗| 获嘉县| 和政县| 康保县| 肥乡县| 福州市| 静安区| 天祝| 栾城县| 北辰区| 台中县| 泽普县| 綦江县| 莒南县| 丰镇市| 梁河县| 南阳市| 元江| 德昌县| 唐河县| 镇巴县| 宁陵县| 长武县| 抚顺县| 潢川县| 蒲江县| 高陵县| 迁安市| 辽中县|