I\'m facing two errors when trying to assign a value to the components of a struct and later when passing a pointer of struct to a function.
I have a user-defined dat