试题12有以下程序#include &lt;stdio.h&gt;main(){ int c[3]={0}, k, i;while((k=getchar())!=’" /> <div class=
试题12
有以下程序
#include <stdio.h>
main()
{ int c[3]={0}, k, i;
while((k=getchar())!=’
’)
c[k-‘A’]++;
for(i=0; i<3; i++) printf(“%d”, c[i]); printf(“
”);
}
若程序运行时从键盘输入ABCACC<回车>, 则输出结果为______.