I think you mean something like this:




typedef struct XYZ
{

int x;
int y;