企源知识库
专业知识收录平台
假定有char * P="Hello";,要输出这个字符串的地址值的正确写法是
分类:
C+ + 程序设计(04737)
发表:2024年08月14日 11时08分38秒
作者:
admin
阅读:
(13)
假定有char * P="Hello";,要输出这个字符串的地址值的正确写法是
A、cout<< *P
B、cout<
C、cout<<&P
D、cout<<(void *)P
【正确答案】:D
上一篇
The word do conveys a number of meanings, but it means differently in“do one's teeth”and“do science at school”. This example shows that _____ context will determine exactly what a word means.
下一篇
层次较高的行政机构向层次较低的行政机构传递信息,称______
Top
首页
后台登录
×
×