菱纱梦

导航

const char **

foo (const char **p){    }
 
main (int argh,char **argv)
{
     foo(argv);
}
warning : argument is incompatible with prototype(参数与原型不匹配)
赋值合法条件:两个操作数都是指向有限定词或无限定词的相容类型的指针,左边指针所指向的类型必须具有右边指针所指类型的全部限定词

posted on 2015-10-14 16:41  菱纱梦  阅读(184)  评论(0编辑  收藏  举报