函数题,在OJ上提交后出现这样的字样

mplicit declaration of function:函数隐性声明,检查下是否导入了正确的头文件。
,题目是写一个函数判断奇偶,我的答案是:
#include <stdio.h>

int jiou(int a)
{
if (a % 2 == 0)
{
printf("True");
}
else
{
printf("False");
}
return 0;
}
int main()
{
int a;
printf("a:\n");
scanf_s("%d", &a);
jiou(a);
return 0;
}

scanf是C语言标准规定的函数,而scanf_s则是VS编译器替换的函数。平常用scanf就可以了,对应头文件#include <stdio.h>。