![]() |
#2
forever742024-12-14 08:25
|
如下例子
struct test
{
int a,
int b
};
test st1 = {1,2};
test st2;
st2 = st1;
这种形况下,st2内的变量是获得了值,还是st2的指针指向了st1?