PTRTOPTR.C
资源名称:C.rar [点击查看]
上传用户:qq5388545
上传日期:2022-07-04
资源大小:29849k
文件大小:0k
源码类别:
界面编程
开发平台:
C/C++
- #include <stdio.h>
- int what_is_the_value(int ***ptr)
- {
- return(***ptr);
- }
- void main(void)
- {
- int *level_1, **level_2, ***level_3, value = 1001;
- level_1 = &value;
- level_2 = &level_1;
- level_3 = &level_2;
- printf("The value is %dn", what_is_the_value(level_3));
- }