错误类型:[Warning] passing argument 1 of 'del' makes pointer from integer without a cast

错误类型:[Warning] passing argument 1 of ‘del’ makes pointer from integer without a cast

函数的形参是数组时,传入的形参应该是数组名,而不应该是例:a[10],这样传入的就是a的第十个数据。
错误提示:错误类型:[Warning] passing argument 1 of 'del' makes pointer from integer without a cast_第1张图片

你可能感兴趣的:(笔记)