以下程序段,在空白处填写()能使程序正确运行并输出结果。 #include <stdio.h> struct stude
以下程序段,在空白处填写()能使程序正确运行并输出结果。 #include <stdio.h> struct student {long num; char name[10]; char sex; float score; }; main() {struct student stu={10101,"lili",’m’,89.5},*pt; printf("%.2f",pt->score); }
A、*pt=stu;
B、pt=stu;
C、pt=&stu;
D、*pt=&stu;