#include<stdio.h> int main() { void fun(int a[10]); int a[10]={1,2,3,4,5,6,7,8,9,10}; } void fun(int a[]) { int i; int *p; p=&a[i]; for(i=0;i<=9;i++) printf("%d\n",*(p++)); } 1 2 3 4 5 6 7 8 9 10 -------------------------------- Process exited after 0.01536 seconds with return value 0 请按任意键继续. . . 码云账号:2326400678@qq.com. 总结:关联git和码云代马时出现了问题。
时间: 2024-10-22 02:13:49