单项选择题

设有定义:char *c;,以下选项中能够使字符型指针c正确指向一个字符串的是

A) char str[]="string"; c=str;
B) scanf("%s", c);
C) c=getchar();
D) *c="string";