开发者社区 问答 正文

遇到‘assignment from incompatible怎么解决?c报错

遇到‘assignment from incompatible怎么解决?c报错

在编写样例代码时出现这种问题。这种情况应该如何解决和避免那?

.[Warning] assignment from incompatible pointer type [enabled by default]

原因是什么,为什么会发生异常,以及下面到底发生了什么。如果有人能帮忙?提前谢谢

展开
收起
爱吃鱼的程序员 2020-05-27 17:41:58 2134 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    楼主,[Warning] assignment from incompatible pointer type [enabled by default] 不同类型的指针进行了赋值

    2020-05-27 17:50:57
    赞同 展开评论
问答地址: