234k views
4 votes
//Precondition: pLeft is the address of a MY_STRING handle // containing a valid MY_STRING object address OR NULL. // The value of Right must be the handle of a valid MY_STRING object //Postcondition: On Success pLeft will contain the address of a handle // to a valid MY_STRING object that is a deep copy of the object indicated // by Right. If the value of the handle at the address indicated by // pLeft is originally NULL then the function will attempt to initialize // a new object that is a deep copy of the object indicated by Right, // otherwise the object indicated by the handle at the address pLeft will // attempt to resize to hold the data in Right. On failure pLeft will be // left as NULL and any memory that may have been used by a potential // object indicated by pLeft will be returned to the freestore. void my_string_assignment(Item* pLeft, Item Right);

User Xenvi
by
4.3k points

2 Answers

1 vote
Sheeeeeesssssssshhhhhhhhhhhh
User Nefas
by
4.5k points
4 votes

Answer:this is an answer i dont know :

Step-by-step explanation:

User Artefacto
by
4.7k points