单项选择题

动态分配包含20个元素的int型数组,下列语句中正确的是()。

A.int p =new int[20];
B.int *p =new int[20];
C.int *p =new [20];
D.int *p =new int(20);