多级指针

来源:互联网 发布:软件著作权登记 加急 编辑:程序博客网 时间:2024/04/28 15:05
  1 #include <stdio.h>  2 #include <stdlib.h>  3   4 //void sendpoint(float ***f){  5 //  ***f = 9.2f;  6     //printf("f = %.1f\n",f);  7 //}  8 int main(){  9     float f0 = 0.1f; 10     float *f1 = &f0; 11     float **f2 = &f1; 12 //  sendpoint(&f2); 13     printf("the f2 is %.1f\n",**f2);                                         14     return 0;  15 }


0 0