What happens when the assignment statement structA.assign(structB) is executed?

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?

A. It auto casts structA’s attribute data types to match that of structB.

B. It auto casts structB’s attribute data types to match that of structA.

C. It will throw a cast error.

D. It will throw error “assign” method cannot have arguments”.

Answer: B

Latest C1000-004 Dumps Valid Version with 70 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments