![]() |
#2
wp2319572022-08-02 07:52
回复 楼主 后卿
|
struct student
{
string name;
int age;
int score;
};
void main()
{
struct student s1={"张三",18,100};
struct student *p=&s1;
请问到了这一步,*p里面保存的是什么东西
如果cout<<*p会发生什么