8.2

来源:互联网 发布:mysql 执行脚本文件 编辑:程序博客网 时间:2024/06/10 09:09
#include <stdio.h>#include <stdlib.h>void Func(int b[]){    int j;    for(j=0;j<4;j++)    {        b[j]=j;    }}int main(){    static int a[]={5,6,7,8},i;    Func(a);    for(i=0;i<4;i++)    {        printf("%d",a[i]);    }    return 0;}

这里写图片描述