The C approach would be


struct Result_t{
double part1;
double part2;
char part3;
};

Result_t func(double param1, double param2, char param3){