可以。下面是例子:#include struct pp {int id;float x;float y;} A,B;int main(){ A.id= 3;A.x = 12.3;A.y = 45.6;B = A;printf("%d %g %g\n",B.id, B.x, B.y);return 0;}输出: 3 12.3 45.6