I am trying to implement a function which takes two pointers to a structure data1 and data2 and updates their value.
data1
data2
This is what I have tri