e.g. struct user { int i; char array[i][j]; }user; this is what i tried: user *tmp; tmp->array[i][j]; ??