Hello there,


If you use a void function, then you will need a pointer of pointer to your struct.

you can try the following:



#include <stdio.h>