首页
在宏定义#define PI 3.14159中,用宏名PI代替一个。
精华吧
→
答案
→
知到智慧树
→
未分类
在宏定义#define PI 3.14159中,用宏名PI代替一个。
A.单精度数
B.字符串
C.双精度数
D.常量
正确答案:字符串
Tag:
字符串
精度
常量
时间:2024-01-14 10:49:08
上一篇:
以下有关宏替换的叙述不正确的是。
下一篇:
以下叙述中不正确的是。
相关答案
1.
C语言的编译系统对宏命令的处理是。
2.
C语言中,宏定义有效范围从定义处开始,到源文件结束处结束,但可以用()来提前解除宏定义的作用。
3.
在一个源程序文件中定义的全局变量的作用域为
4.
下面叙述中不正确的是
5.
在函数调用中,若funA调用了函数funB,函数funB又调用了函数funA,则
6.
函数调用在程序中出现的位置一般有3种方式,下面叙述中错误的是
7.
在C语言中规定,函数返回值的类型由
8.
下面对函数的叙述,正确的是()。
9.
在C语言的函数调用中,如果普通变量作为函数的实参,则它与对应形参之间的传递方式是
10.
在C语言的函数调用中,如果普通变量作为函数的参数,则调用函数时
热门答案
1.
在C语言中,若定义函数时对函数类型未加显式说明,则函数的隐含类型为
2.
在C语言中,程序进行编译的单位是
3.
在C语言中,程序的基本单位是
4.
使用字符串连接函数strcat(字符数组1,字符数组2)时,字符数组1要定义足够的长度,才能装入全部被连接的字符串,而使用strcpy(字符数组1,字符数组2)函数时,无需考虑字符数组1的长度问题。()
5.
在用字符数组来处理字符串时,应始终保证数组的长度大于字符串的实际长度。()
6.
若定义char a() = "Hello! " 则strlen(a)、sizeof(a)的值分别为()。
7.
下列二维数组初始化语句中,正确的是()。
8.
在定义int n[5][6]后,若认为n[0][0]为第1个元素,则第10个元素是()。
9.
int a[3]定义了一个整型数组, 它的3个元素是a[0], a[1]和a[2]。()
10.
对数组元素赋予的初值可以依次放在一对圆括号内。()