单选题
C语言
题号 #144095
在C语言中,函数返回值的类型最终取决于( )。
参考答案
A
答案解析
在c语言程序设计这一本书中,有说到函数返回值的类型最终取决于函数自身定义的类型.大家可以看看c语言程序设计中关于函数调用哪一章的内容。
你可能感兴趣的试题
A.main()
B.main
{ int *p; { int *p;
fun(p); fun( &p);
}
}
int fun(int *p) int fun(int **p)
{ int s; p= &s;} { int s;*p=&s;}
{ int *p; { int *p;
fun(p); fun( &p);
}
}
int fun(int *p) int fun(int **p)
{ int s; p= &s;} { int s;*p=&s;}
C.#include
D.#include
main() main()
{ int *p; { int *p;
fun( &p); fun(p);
} }
int fun(int **p) int fun(int *p)
{ *p=(int *)malloc(2);} { p=(int *)malloc(sizeo(int));}
main() main()
{ int *p; { int *p;
fun( &p); fun(p);
} }
int fun(int **p) int fun(int *p)
{ *p=(int *)malloc(2);} { p=(int *)malloc(sizeo(int));}
A.typedef STP char *s;
B.typedef *char STP;
C.typedef stp *char;
D.typedef char* STP;
A.scanf( "%d",&(*p).age);
B.scanf( "%s",&stname);
C.scanf( "%c",&std[0].sex)
D.scanf( "%c",&(p->sex));