Ho creato la struttura:

typedef struct {
char s[10];
char r[10];
} x;

Ora nel main creo una variabile di tipo x:

x variabile;

Come faccio a passarla per indirizzo ad una funzione?