以下程序的输出结果是【 14 】#include lt;stdio.hgt; #include lt;stdio.hgt;#include lt;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);

}

热搜:下面程序的功能是输出数组s中最大元素