以下程序段的输出结果是____ char a[ ]="Program", *ptr; ptr=a; for (; ptr<a+7; ptr+="2)" > A、Program
B、Porm
C、有语法错
D、Por
B、Porm
C、有语法错
D、Por
A、127
B、-129
C、-128
D、128
【单选题】以下程序段的运行结果是( )。
A、PRO
B、PROGRAM
C、PROgram
D、proGRAM
char a[7]="abcdef",b[4]="ABC";
strcpy(a,b) ;
printf("%c",a[5]);
(A)空格 (B)\0 (C)e (D)f
A、>>> language = list('PHP'); >>> language[1:] = 'ython'; >>> print(language) ['P', 'y', 't', 'h', 'o', 'n']
B、>>> print(list('Life is short, you need Python.').count('is')) 1
C、>>> x = [2, 3, 0, 4, 1] >>> x.sort() >>> print(x) [0, 1, 2, 3, 4]
D、>>> words = ['Life', 'is', 'short', 'you', 'need', 'Python'] >>> words.index('you') 4
A、A,Y
B、65,65
C、65,90
D、65,89
A、\0
B、e
C、f
D、(空格)
B、0.500000
C、1. 000000
D、0.250000
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!