单项选择题

下列程序的输出结果是( )。
#include <stdio.h>
void p(int *x)
printf("%d",++*x);

void main()
int y=3;
p(&y);

A) 3
B) 4
C) 2
D) 5