| ||||||
| 5/27 |
| 2003/1/13-14 [Uncategorized] UID:27083 Activity:moderate |
1/13 In C, if I have two variables "big_struct_t a, b;", is there any reason
why I should use "memcpy(&b, &a, sizeof a);" instead of simply
"b = a;"? Thanks. -- yuen
\_ IMO, memcpy is a clearer expression of the effect of the operation. |