单项选择题

以下选项中可作为C语言合法常量的是______。

A.-80.
B.-080
C.-8e1.0
D.-80.0e
<上一题 目录 下一题>
热门 试题

单项选择题
在函数调用过程中,如果函数funA调用了函数funB,函数funB又调用了函数funA,则______。
A.称为函数的直接递归调用
B.称为函数的间接递归调用
C.称为函数的循环调用
D.C语言中不允许这样的递归调用
单项选择题
以下程序段中,能够通过调用函数fun,使main函数中的指针变量p指向一个合法的整型单元的是______。
A.main()
int *p;
fun(p);
……

int fun(int *p)
int s; p=&s;
B.main()
int *p;
fun(&p);
……

int fun(int **p)
int s; *p=&s;
C.# include<stdlib. h>
main()
int *p;
fun(&p);
……

int fun(int **p)
*p=(int *)malloc(2);
D.# include<stdlib. h>
main()
int *p;
fun(p);
……

int fun(int *p)
p=(int
*)malloc(sizeof(int));
相关试题
  • 有一种攻击是针对网络低层协议而不是针对某...
  • 以下程序中给指针p分配3个double型动态内...
  • 以下程序运行后的输出结果是 【14】 。...
  • 以下程序中,for循环体执行的次数是 【1...
  • 有以下程序: # define f(x)x*x ma...