B
Ben Pfaff
Chad said:void main()
{
 clrscr();
 int (*x)[10];
 (*x)=(int *) malloc( 30 * sizeof (int) );
Did this code fall through a time warp from 25 years ago?
Maybe I'm wrong on this one, but it looks like the OP isn't making a
distinction between an array and the elements in that array. I know
these are two different things because I have an old comp.lang.c post
where Ben Pfaff actually explains the differences to me.
The C FAQ has a whole section on the differences. I recommend it
to everyone.