本帖最后由 shuidi_wangdan 于 2013-10-21 11:37 编辑
yewuyi 发表于 2013-10-21 11:29 
uchar table[]={1,2,3}
void fa(uchar dat[])
{
这样我试过,也是提示警告。
我自己定义了一个指针,如下:
uchar table[]={1,2,3}
uchar *p;
void fa(uchar dat[])
{
......
}
void main()
{
p=&table[0];
fa(p);
}
这样的话,没有提示警告,并且和预想的是一致的。
不知道为什么这样没有警告?
|