单项选择题

以下能正确定义字符串的语句是______。

A.char str[]={'\064'};
B.char str="kx43";
C.char str=";
D.char str[]="\0";
<上一题 目录 下一题>
热门 试题

单项选择题
程序流程图中有箭头的线段表示的是______。
A.图元关系
B.数据流
C.控制流
D.调用关系
单项选择题
有以下程序: #include<stdio.h> #define N 5 #define M N+1 #define f(x)(x*M) main() {int i1,i2; i1=f(2); i2=f(1+1); printf( %d%d ,i1,i2); } 程序的运行结果是______。
A.12 12
B.11 7
C.11 11
D.12 7
相关试题
  • 有以下程序: #include<string.h> vo...
  • 有以下程序: #include<stdio.h> #i...
  • 有以下程序: int a=2; int f(int...
  • 有以下程序: #include<stdio.h> #i...
  • 有以下程序: #include<stdio.h> mai...