标签:val second src http turn cond 技术分享 process exit
v
#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); }
复制代码
运行结果: 1 3 5 7 9
-------------------------------- Process exited after 0.1473 seconds with return value 0 请按任意键继续. . .
我的码云账号是1015180720@qq.com
标签:val second src http turn cond 技术分享 process exit
原文地址:http://www.cnblogs.com/hk666666/p/6667153.html