下列程序的输出结果是( )。
#include
main()
{ int a=2 ,b=3,P;
p=f(a ,b);
printf( ”%d”, p);
}
int f(a ,b)
{ int c;
if(a>b)c=1;
else if(a==b)c=0;
else c=-l;
return(c);
}
A
暂无解析
有以下程序:输出的结果是( )。
#include<
struct stu
{ int num;
char name[10] :
int age;}
void fun(struct stu*p)
{printf("%sn" ,(*p).name);}
tllain()
{
struct stu students[3]={{9801 ,"Zhang".20} ,
{9802 ,"Wang",19},{9803 ,"Zhao" ,1 8}}
fun(students+2);
}
下列关于外键的叙述中,错误的是 ______。
下列关于数据库的叙述中,错误的是 ______。