c 语言static

c语言规定,只有定义在 全局 变量和 局部 静态变量时 才能对数组 初始化。
main(){
static int a[5]={1,2,3,45,5};

}

posted on 2008-10-30 15:04  dhj  阅读(173)  评论(0)    收藏  举报

导航