可以的,同类型的结构体变量可以。比如: struct test a,b; a=b;//这样可以的。 如果是不同的类型,但是结构体没数据类型一样就要用memcpy拷贝内存(头文件string.h)。例如:struct test1 a;