网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
9、若有说明语句:char c='\72';则变量c()。
A.包含l个字符
B.包含2个字符
C.包含3个字符
D.说明不合法,c的值不确定
参考答案和解析
包含3个字符
更多 “9、若有说明语句:char c='\72';则变量c()。A.包含l个字符B.包含2个字符C.包含3个字符D.说明不合法,c的值不确定” 相关考题
考题
若有以下说明和定义语句,则变量w在内存中所占的字节数是 【19】 。union aa {float x; float y; char c[6]; };struct st{ union aa v; float w[5]; double ave; } w;
考题
若有以下说明和语句:sturct st { int n;char *ch;}; struct st a[3]={5, "abc",7, "def",9, "ghk"},*p=a;则值为6的表达式是( )。A)p++-n B)p-n++C)(*p).n++ D)++p-n
考题
若有定义和语句: char*sl="12345",* s2="1234"; printf("%d\n",strlen(stren(sl,s2))); 则输出结果 ( )A.4B.5C.9D.10
考题
定义如下变量:char one_char,则语句cin>>one_char等价于C语言中的( )语句。A.printf(one_char);B.prinft("%c",one_char);C.scanf(one_char);D.scanf("%c", one_char);
考题
若有以下说明和语句: struct st{int n;char*ch;} struct st a[3]={5,"abc"7,"def",9",ghk"),*p=a; 则值为6的表达式是______。A.p++->nB.p->n++C.(*p).n++D.#NAME?
考题
若有char s[3][3]=={"AAA","BBB","CCC"};说明语句,则与它等价的语句是( )。A.char**s={"AAA","BBB","CCC"};B.char*s[3]={"AAA","BBB","CCC"};C.char s[][5]={"AAA","BBB","CCC"};D.char s[][3]={"AAA","BBB","CCC"};
考题
若有以下语句:typedef struct S{int 9;char h;}T;以下叙述中正确的是( )。A.可用s定义结构体变量B.可用T定义结构体变量C.S是struct类型的变量D.T是struct S类型的变量
考题
若有以下的说明语句,则与它等价的说明是char s[3][5]={"aaaa","bbbb","cccc"};A.char**s1={"aaaa","bbbb","cccc"};B.char*s2[3]={"aaaa","bbbb","cccc"};C.char s3[][5]={"aaaa","bbbb","cccc"};D.char s4[][4]={"aaaa","bbbb","cccc"};
考题
单选题在FORTRAN的变量类型说明语句中没有()A
REAl语句B
CHAR语句C
INTEGER语句D
LOGICAL语句
热门标签
最新试卷