#include <stdio.h>
//void f(int b, int a[b][b])
void f(int b,int a[b][b])
{
printf("%dn",a[1][1]);
}
int main()
{
int b = 2;
int a[b][b];
a[1][1] = 1;
f(b, a);
}
最后
以上就是舒心柠檬最近收集整理的关于变长数组(VLA),二维数组函数传递的全部内容,更多相关变长数组(VLA)内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复