I am just asking if i can return the values of a struct on a function??
example:
typedef struct sample{
int a;
char b, c;
}SAMPLE_STRUCT;
can it be like this?
//function prototype
SAMPLE_STRUCT copy_struct(void);
Is this correct???