I just wanna know if I can do something like that...
typedef struct Result{
int low, high, sum;
} Result;
Result test(){
return {.low = 0, .high = 100, .sum = 150};
}
I know that is the wrong way, but can I do that or I need to create a local variable to receive the values and then return it?