单选题 C语言
题号 #4684617

以下程序运行后的输出结果是。
main(  )
{     char *p; int i;
p=(char *)malloc(sizeof(char)*20);
strcpy(p,"emoclew");
for(i=6;i>=0;i--) putchar(*(p+i));
printf("\n"); free(p);
}

进入在线模考

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

A.可用S定义结构体变量
B.可用T定义结构体变量
C.S是struct类型的变量
D.T是struct S类型的变量
A.struct ord {int x;int y;int z;};  struct ord a;
B.struct ord {int x;int y;int z;}  struct ord a;
C.struct ord {int x;int y;int z;} n;
D.struct {int x;int y;int z;} a;
找试题 · 找答案 · 找资料 在线模考