struct pointer element

i am testing struct on cuda

[codebox]typedef struct test

{

int a;

int *b;

};[/codebox]

i have like above structure. is there any way to use pointer element in structure because i dont success it.