The first is actually a string problem. You must use strcpy for char buffers:
https://zorro-trader.com/manual/en/str_.htm

For the second, Lite-C does not support returning structs. Lite-C does support pointers to structs as function arguments - use that instead.