向各位大佬求解!!
#include <stdio.h>void main (){
printf("%d\n ",sizeof(int));
}
报错显示的是 : In function ‘main’:
3:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d\n ",sizeof(int));
请问这是什么原因造成的错误啊