arning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
str1 = (int*)malloc(sizeof(int) * 30);
:16:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
str2 = (int*)malloc(sizeof(int) * 30);
^
10.2.10比较字符串的大小.c:18:5: warning: implicit declaration of function ‘gets’
(1)malloc:assignment from incompatible pointer type -(2)declaration of function ‘gets’; ‘fgets
最新推荐文章于 2023-10-10 08:48:31 发布