标签:turn 三次 style proc 复制 images pre http roc
#include<stdio.h> void fun(int *p) { int i; for(i=0;i<10;i++) printf("%d\n",*(p+i)); } int main() { int a[10]={0,1,2,3,4,5,6,7,8,9}; int *p; p=a; fun(p); } 复制代码 运行结果: 0 1 2 3 4 5 6 7 8 9 -------------------------------- Process exited after 0.1473 seconds with return value 0 请按任意键继续. . . 这次作业较前几次作业要相对简单一些,不过码云代码还是不太懂。
码云代码账号:1841655732@qq.com
标签:turn 三次 style proc 复制 images pre http roc
原文地址:http://www.cnblogs.com/yanyuzuishuai/p/6666193.html