若有定义int *p=new int(0),则下列说法正确的是( )。
A.系统用指针变量p来表示所指整型变量
B.声明一个指针变量p,指向名为new的存储单元
C.系统为指针变量p分配一个整型数据的存储空间
D.通过运算符new,分配一个整型数据的存储空间,并将其内存地址赋予指针变量
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/241000.html
上一篇:With a determiner: She was so angry that she hardly spoke a word the ________ time.
下一篇:Away from Home Cristobal Martin was born in Granada, Spain, 38 years ago. "Granada is the most beautiful city in the world," says Mr. Martin. "Its sun is warm and its air is clear." Today, Mr. Martin works in Germany, where the weather is often