有以下程序:输出的结果是( )。
#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);
}
现有如下语句:能够直接调用过程 p,并能得到正确返回结果的语句是 ______。
CREATE PROCEDURE p(IN nol INT,OUT pname VARCHAR(10))
BEGIN
SELECT sname INTO pname
FROM student WHERE sno=nol:
END;