下面程序的输出结果为()?#include<iostream>...
发布于 2022-03-03 14:01:03
下面程序的输出结果为( )?
#include <iostream>
using namespace std
int main ( )
{
char str[] = {"hello"}, *p
p = (char*)new char(10)
*p = str
cout<<*p<<endl
return 0
}
#include <iostream>
using namespace std
int main ( )
{
char str[] = {"hello"}, *p
p = (char*)new char(10)
*p = str
cout<<*p<<endl
return 0
}
登录后免费查看答案
关注者
0
被浏览
62