I have this sample code where I pass the number of parameters in count followed by different type arguments.
struct my_struct;
my_func(int count, char* input_1, my_struct input_2, my_struct input_3);
my_func(int count, char* input_1, my_struct input_2);
How can I retrieve arguments? I Know using va_arg gives the argument for primary data types, but structs are not accepting.