Posted this on another forum. I thought I will try to post on this site and see if I get any responses.
Can you please explain if there is any overlap or any data is overwritten if the following two statements are executed successively. Thanks,
a)memcpy (origVal + aLen, attrid, attrLen);
b)memcpy (origVal, secattrid, aLen);