You have two structs, Struct A and Struct B. Struct A contains an attribute called att1 of type MYDOMAIN1, based on SVR_INT64. Struct B contains an attribute called att1 of type MYDOMAIN2, based on SVR_STRING.
What happens when the assignment statement structA.assign(structB) is executed?
- It auto casts structA’s attribute data types to match that of structB.
- It auto casts structB’s attribute data types to match that of structA.
- It will throw a cast error.
- It will throw error “assign” method cannot have arguments”.
Reveal Solution Next Question