问题详情

答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关

以下程序的输出结果是【 14 】#include <stdio.h> #include <stdio.h>#include <st


以下程序的输出结果是【 14 】

#include <stdio.h>

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

main()

{ char *p,*q,*r,

p=q=r=(char*)malioc(sizeof(char)*20);

strcpy(p,"attaboy,welcome!");

printf(”%c%c%c ”,p[ 11 ], q[ 3 ],r[ 4 ]);

free(p);

}

参考答案
您可能感兴趣的试题