504,831 views
33 votes
33 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 Sri Sankaran
by
3.0k points

2 Answers

8 votes
8 votes
Sheeeeeesssssssshhhhhhhhhhhh
User Kumar Pankaj Dubey
by
3.3k points
8 votes
8 votes

Answer:this is an answer i dont know :

Step-by-step explanation:

User Walid Ammar
by
3.5k points