单项选择题

若有一些定义和语句
#include <stdio.h>
int a=4, b=3, *p,*q,*w;
p=&a; q=&b; w=q; q=NULL;
则以下选项中错误的语句是

A.*q=0;
B.w=p;
C.*p=a;
D.*p=*w;