单项选择题

有以下程序
#include <stdio.h>
#include <stdlib.h>
main()
int *a,*b,*c;
a=b=c=(int *)malloc(sizeof(int));
*a=1;*b=2,*c=3;
a=b;
printf("%d,%d,%d\n",*a,*b,*c);

程序运行后的输出结果是

A) 3,3,3
B) 2,2,3
C) 1,2,3
D) 1,1,3