单项选择题
设有以下定义,则下面给出的语句中错误的是()
int a=0;
float b=1.25;
char c='A';
#define d 2
A.25;
char
B.a++;
B.c++;
C.b++;
D.d++;
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
下面哪条语句可以生成0-9之间的随机数()
A.magic=rand()%10+1;
B.magic=rand()%10;
C.magic=rand()/10+1;
D.magic=rand()/10;
点击查看答案
单项选择题
设有以下定义,则下面给出的语句中错误的是()1.int a=0;2.float b=1.25;3.char c='A';4.#define d 2
A.int
B.float
C.25;
3.char
D.#define
E.a++;
B.b++;
C.c++;
D.(-a)++;
点击查看答案
相关试题
The main idea of the story is tha...
When we dream,().
Which of the following is true?(...
Why do some people often dream abo...
If the patient is rational and pos...